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

Additional Content

描述

Add additional content on a post per post basis in the edit or publish post screen. The additional content editor can be used with all public post types.

Use this plugin for content that you, for whatever reason, don’t want to be included in the post content itself, like shortcodes, or code snippets used by other plugins.

Another benefit of using this plugin is if you want content to be displayed before or after content that is automatically added by other plugins. The priority parameter will let you do just that.

For more information visit the GitHub repository.

螢幕截圖

  • Add additional content in the edit or publish post screen.
  • Additional Content metabox with text strings changed for shortcodes.
  • Additional Content metabox with options removed with a filter.
  • Warning when activating this plugin on PHP versions smaller than 5.4.0.

安裝

Requirements

PHP 5.4.0 or higher

Note: This plugin displays an admin notice when activated on lower PHP versions. Disable this plugin like you normally would in the wp-admin if you see this notice.

What is PHP?
PHP is the scripting language used to build WordPress. It’s installed on your server by your host. The minimum required version for WordPress is PHP 5.2.4. This version has been unsupported since early 2011 and is potentially insecure. WordPress supports it to maintain backward compatibility for sites that are still using it.

This plugin is also build with PHP but it requires the PHP version of 5.4.0 or higher to work.

Follow these instructions to install the plugin.

  1. In your WordPress admin panel, go to Plugins > New Plugin, search for “additional content” and click “Install now”.
  2. Alternatively, download the plugin and upload the contents of additional-content.zip to your plugins directory, which usually is /wp-content/plugins/.
  3. Activate the plugin
  4. Add additional content in the edit or publish post screens.

常見問題

What is the priority option?

This plugin is basically a user interface for the_content filter. This filter allows themes and plugins to change (or add content to) post content before it’s displayed. The default priority for filters is 10. Higher numbers correspond with later execution of adding additional content. This option allows you to display the additional content before or after other plugins that add content with this filter.

評價

2016年9月3日
Overall it is very good but need completed simple features
閱讀全部1個評價

貢獻者及開發者

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

貢獻者

Additional Content 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

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

對開發相關資訊感興趣?

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

修改日誌

1.3.0

  • Fix bug where additional content was not displayed in pages. Props: dpinc.
  • Allow unfiltered html for user with the unfiltered_html capability
  • Tested up to WordPress 4.6

1.2.0

  • Using anonymous functions for sorting addational content by priority.
  • New unit tests
  • Tested up to WordPress 4.4

1.1.4

Initial commit to the WordPress plugins repository.