{"id":17307,"date":"2024-02-11T08:00:00","date_gmt":"2024-02-11T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/automatic-block-inserter\/"},"modified":"2025-01-31T00:05:00","modified_gmt":"2025-01-31T00:05:00","slug":"automatic-block-inserter","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/automatic-block-inserter\/","title":{"rendered":"Automatic Block Inserter"},"content":{"rendered":"<p>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.<\/p>\n<h3>Usage<\/h3>\n<p>To get started with the Automatic Block Inserter plugin, follow these steps after installation:<\/p>\n<p><strong>Creating a New Automatic Block:<\/strong><\/p>\n<ol>\n<li>In your WordPress dashboard, locate and click on the \u201cAutomatic Block\u201d menu item.<\/li>\n<li>Click on \u201cAdd New\u201d to create a new block.<\/li>\n<li>Enter the content for your block just like you would for a post or a page.<\/li>\n<\/ol>\n<p><strong>Configuring Block Settings:<\/strong><\/p>\n<p>Once you\u2019ve created the content for your block, you\u2019ll see a control in the sidebar named <strong>\u201cPosition.\u201d<\/strong><\/p>\n<p>Here, you can configure where and how your block will be inserted:<\/p>\n<ul>\n<li><strong>Post Type<\/strong>: Choose the type of content you want your block to be associated with (e.g., posts, pages).<\/li>\n<li><strong>Location Type<\/strong>: Select whether your block should be placed in a specific \u201cpost area\u201d or next to a \u201cblock type.\u201d<\/li>\n<li><strong>Position<\/strong>: If you chose \u201cpost area,\u201d your block could be set to appear within the \u201cpost content.\u201d For \u201cblock type,\u201d you\u2019ll get a dropdown menu listing all the available blocks where you can anchor your new block.<\/li>\n<li><strong>Location<\/strong>: Decide if your block should appear before or after the selected position.<\/li>\n<li><strong>Offset<\/strong>: This option is available when you select \u201cblock type\u201d as your location type. It allows you to specify how many blocks away your new block should be placed from the chosen anchor block.<br \/>\nInsertion Logic and Display:<\/li>\n<\/ul>\n<p>The plugin uses the settings you\u2019ve chosen to determine where to insert the block in your content.<br \/>\nIf you select \u201cafter\u201d in the \u201cLocation\u201d setting for a post area, for example, the block will appear immediately following the post content.<br \/>\nIf you set an offset with \u201cblock type,\u201d the plugin counts the specified number of blocks and places your new block accordingly.<br \/>\nPreviewing and Adjusting:<\/p>\n<p>You can preview your post or page to see how the block appears with the rest of your content.<br \/>\nIf the placement isn\u2019t quite right, you can go back and adjust the settings as needed until you\u2019re satisfied with the positioning.<\/p>\n<p><strong>Multiple Blocks and Conditions:<\/strong><\/p>\n<p>The plugin allows you to create multiple blocks, each with its own set of conditions and placement settings.<br \/>\nThis means you can have different blocks appear in different contexts across your site, offering a high level of customization.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This plugin allows you to easily insert blocks into specific post areas as well as above or below specific block types.<\/p>\n","protected":false},"author":65,"featured_media":237627,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Automatic Block Inserter - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"This plugin allows you to easily insert blocks into specific post areas as well as above or below specific block types."},"footnotes":""},"categories":[1],"tags":[288,5156],"class_list":["post-17307","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-block","tag-reusable"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/17307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=17307"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/17307\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/237627"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=17307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=17307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=17307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}