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

Content Holder

描述

Separate pieces of content into fragments that you can reuse anywhere on your website.
Group several content holder into a single one to reuse your content more easily.

1.0.1

  • Fix WP_Widget deprecated notice
  • Broaden query to all post types
  • Remove wpautop by default

1.1.0

  • Add content holder block support

螢幕截圖

  • You can add the content holder widget to any sidebar
  • Modify content holder intuitively and seamlessly like any other content
  • Easily add content holder to other parts of the site with a button
  • Choose the content holder from a list to insert the shortcode

安裝

  1. Upload content-holder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Create content holders from the admin page and use them in your theme through the content_holder shortcode or widget.
  4. When creating or editing a page, post or any custom type your can choose the content holder you want to add and insert it directly in the editor.

常見問題

How do I display a content holder

First create a content holder and add your content inside. Now go in a post or a page and select the content holder from the dropdown.

Can you add content holder inside content holder

Yes. It’s possible to make content holder act as a group and render multiple content holder

Is there a shortcode available for developers?

Yes. The content_holder shortcode supports a slug and id attribute. Simply provide the post_name as the slug or the ID to the shortcode.

[content_holder id=2|slug=“post_name”]

評價

閱讀全部2個評價

貢獻者及開發者

“Content Holder” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Content Holder 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0

  • Initial release