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.
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.
- In your WordPress admin panel, go to Plugins > New Plugin, search for “additional content” and click “Install now”.
- Alternatively, download the plugin and upload the contents of additional-content.zip to your plugins directory, which usually is /wp-content/plugins/.
- Activate the plugin
- 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.
“Additional Content” 是开源软件。 以下人员对此插件做出了贡献。贡献者
- 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
- Using anonymous functions for sorting addational content by priority.
- New unit tests
- Tested up to WordPress 4.4
Initial commit to the WordPress plugins repository.