[WordPress] 外掛分享: Automatic Block Inserter

首頁外掛目錄 › Automatic Block Inserter
WordPress 外掛 Automatic Block Inserter 的封面圖片
50+
安裝啟用
★★★★★
5/5 分(2 則評價)
56 天前
最後更新
問題解決
WordPress 5.8.3+ PHP 5.7+ v1.0.8 上架:2024-02-10

內容簡介

- Automatic Block Inserter是一個強大的外掛程式,可以輕鬆地將區塊插入到特定的文章區域,以及根據偏移量將區塊插入到指定的區塊類型之上或之下。
- 創建新的自動區塊:
- 在WordPress儀表板中,找到並點擊"Automatic Block"菜單項目。
- 點擊"新增"以創建新的區塊。
- 像編寫文章或頁面一樣輸入您的區塊內容。
- 配置區塊設置:
- 創建區塊內容後,您將在側邊欄中看到一個名為"位置"的控制選項。
- 在這裡,您可以配置您的區塊在哪裡以及如何插入:
- 文章類型:選擇您希望將區塊與其關聯的內容類型(例如文章、頁面)。
- 位置類型:選擇您的區塊應該放置在特定的"文章區域"還是"區塊類型"旁邊。
- 位置:決定您的區塊應該在所選位置之前還是之後出現。
- 偏移量:當您將"區塊類型"選為位置類型時,該選項可讓您指定您的新區塊應該與所選錨定區塊相距多少個區塊。
- 插入邏輯和顯示:
- 外掛程式使用您選擇的設置來確定在內容中插入區塊的位置。
- 例如,如果您在文章區域的"位置"設置中選擇"之後",則該區塊將立即顯示在文章內容之後。
- 如果您使用"區塊類型"設置偏移量,外掛程式會計算指定數量的區塊並相應地放置新的區塊。
- 預覽和調整:
- 您可以預覽您的文章或頁面,查看區塊與內容的顯示效果。
- 如果位置不太合適,您可以返回並根據需要調整設置,直到滿意為止。
- 多個區塊和條件:
- 這個外掛程式允許您創建多個區塊,每個區塊都有自己獨立的條件和放置設置。
- 這意味著您可以在網站的不同情境中顯示不同的區塊,提供高度的自定義程度。

HTML bulleted list:
<ul>
<li>Automatic Block Inserter 是一個強大的外掛程式,可以輕鬆地將區塊插入到特定的文章區域,以及根據偏移量將區塊插入到指定的區塊類型之上或之下。</li>
<li>創建新的自動區塊:
<ul>
<li>在WordPress儀表板中,找到並點擊"Automatic Block"菜單項目。</li>
<li>點擊"新增"以創建新的區塊。</li>
<li>像編寫文章或頁面一樣輸入您的區塊內容。</li>
</ul>
</li>
<li>配置區塊設置:
<ul>
<li>創建區塊內容後,您將在側邊欄中看到一個名為"位置"的控制選項。</li>
<li>在這裡,您可以配置您的區塊在哪裡以及如何插入:
<ul>
<li>文章類型:選擇您希望將區塊與其關聯的內容類型(例如文章、頁面)。</li>
<li>位置類型:選擇您的區塊應該放置在特定的"文章區域"還是"區塊類型"旁邊。</li>
<li>位置:決定您的區塊應該在所選位置之前還是之後出現。</li>
<li>偏移量:當您將"區塊類型"選為位置類型時,該選項可讓您指定您的新區塊應該與所選錨定區塊相距多少個區塊。</li>
</ul>
</li>
</ul>
</li>
<li>插入邏輯和顯示:
<ul>
<li>外掛程式使用您選擇的設置來確定在內容中插入區塊的位置。</li>
<li>例如,如果您在文章區域的"位置"設置中選擇"之後",則該區塊將立即顯示在文章內容之後。</li>
<li>如果您使用"區塊類型"設置偏移量,外掛程式會計算指定數量的區塊並相應地放置新的區塊。</li>
</ul>
</li>
<li>預覽和調整:
<ul>
<li>您可以預覽您的文章或頁面,查看區塊與內容的顯示效果。</li>
<li>如果位置不太合適,您可以返回並根據需要調整設置,直到滿意為止。</li>
</ul>
</li>
<li>多個區塊和條件:
<ul>
<li>這個外掛程式允許您創建多個區塊,每個區塊都有自己獨立的條件和放置設置。</li>
<li>這意味著您可以在網站的不同情境中顯示不同的區塊,提供高度的自定義程度。</li>
</ul>
</li>
</ul>

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.8) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Automatic Block Inserter」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Automatic Block Inserter is a powerful plugin that allows you to easily insert blocks into specific post areas as well as above or below specific block types based on an offset.
Usage
To get started with the Automatic Block Inserter plugin, follow these steps after installation:
Creating a New Automatic Block:

In your WordPress dashboard, locate and click on the “Automatic Block” menu item.
Click on “Add New” to create a new block.
Enter the content for your block just like you would for a post or a page.

Configuring Block Settings:
Once you’ve created the content for your block, you’ll see a control in the sidebar named “Position.”
Here, you can configure where and how your block will be inserted:

Post Type: Choose the type of content you want your block to be associated with (e.g., posts, pages).
Location Type: Select whether your block should be placed in a specific “post area” or next to a “block type.”
Position: If you chose “post area,” your block could be set to appear within the “post content.” For “block type,” you’ll get a dropdown menu listing all the available blocks where you can anchor your new block.
Location: Decide if your block should appear before or after the selected position.
Offset: This option is available when you select “block type” as your location type. It allows you to specify how many blocks away your new block should be placed from the chosen anchor block.
Insertion Logic and Display:

The plugin uses the settings you’ve chosen to determine where to insert the block in your content.
If you select “after” in the “Location” setting for a post area, for example, the block will appear immediately following the post content.
If you set an offset with “block type,” the plugin counts the specified number of blocks and places your new block accordingly.
Previewing and Adjusting:
You can preview your post or page to see how the block appears with the rest of your content.
If the placement isn’t quite right, you can go back and adjust the settings as needed until you’re satisfied with the positioning.
Multiple Blocks and Conditions:
The plugin allows you to create multiple blocks, each with its own set of conditions and placement settings.
This means you can have different blocks appear in different contexts across your site, offering a high level of customization.

延伸相關外掛

文章
Filter
Mastodon