這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Insert Blocks Before or After Posts Content

描述

This plugin gives the capability to automatically add content before and/or after your posts, pages, or any public custom post types.

It is also possible to prevent your before/after content from showing on a post or a page directly from the editor screen (works on both Classic Editor and Block Editor). You can also prevent your before/after content from displaying on specific post types or categories.

With this plugin, build your before/after content within the Gutenberg block editor, even if you are using Classic Editor!

Indeed, the block editor is activated for these specific blocks of contents even if Gutenberg is not activated on your website!

I strongly recommend to use it alongside one of my other free plugins, Reusable Blocks Extended. These two plugins are totaly independant, but together they provide a full editorial experience! ⭐️

螢幕截圖

  • Plugin’s settings page
  • Use block editor to edit your before/after content, even if you have Classic Editor installed!
  • Use the post metabox to edit your settings on a post by post basis (works on both Classic and Gutenberg editors)
  • Front-end result with both before and after content

安裝

  1. Activate the plugin.
  2. Go to Appearance > Before/after content to create content blocks and to choose your settings.
  3. Save your changes and enjoy 🙂

常見問題

But I’m still using Classic Editor!

No worries! It will work even with Classic Editor activated!
The plugin restores Gutenberg block editor for the wp_block post type only.
Of course, nothing will change for your other post types.

評價

2022年3月29日
The Blocksy theme gives the opportunity to customize some features before and after the content but prevent you to choose the order of eventual additional content you may try to add in these places. This plugin is pretty cool as you can add all the blocks you need in the order and composition you need.
2021年5月22日
Great plugin! Would it be possible to add Polylang support? Multiple languages show up but don’t apply on page. Thank you for your consideration! 🙂
2020年5月11日
This plugin is very straightforward and allows you to design before & after sections for your posts and pages. I have used it to provide an article feedback section that would otherwise have been a compromise to pull off. The settings page is nicely placed in the Appearance section. All good :o)
2020年2月18日
I tried a function to add affiliate/privacy info to blog posts only, but it was showing on my product pages, where I didn’t want. This allowed me to select blog posts only, and leave the info off pages and products. Perfect! Thank you for the easy to use plugin!
閱讀全部6個評價

貢獻者及開發者

“Insert Blocks Before or After Posts Content” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Insert Blocks Before or After Posts Content 外掛目前已有 2 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Insert Blocks Before or After Posts Content 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

0.3

  • Properly parse block. Props @maxpertici and @vinvinXD. See https://twitter.com/vinvinXD/status/1496927854885539851 for context.

0.2.1

  • Fixes a PHP warning on front-end. Props Aurélien Denis (@maigret).

0.2

  • Internationalization fixes and WP 5.6 compatibility.

0.1

  • Plugin initial version. Works fine.