Description
Simple Custom Content (SCC) enables you to add custom content to all of your WP Posts and RSS Feeds. Additionally, SCC provides several shortcodes for adding custom content to individual Posts, Pages, or any location in your theme template. This plugin is ideal for adding copyright information, official policies, disclaimers, credits, thank-you messages, custom links, special offers, and anything you can imagine.
Features
- Custom content can be text and/or markup
- Display custom content automatically on all WP Posts
- Display custom content automatically on all RSS Feeds
- Optionally display custom content only in Post Excerpts
- Optionally display custom content only in Feed Excerpts
- Provides setting to reset all plugin options to default values
- Provides Shortcodes to add custom content to Posts and Pages
- Specify location of custom content (before or after content)
- Works perfectly with or without Gutenberg Block Editor
- NEW! Option to limit custom content to WP Posts
- NEW! Option to allow custom content on WP Pages
Automatic Custom Content
For each of the automatic inclusion methods (WP Posts and RSS Feeds), you can specify where you would like to display the custom content:
- Before content
- After content
- Both before and after
- Do not display (disable)
Post-Specific Custom Content
Here is a summary of the SCC Shortcodes, which may be used to display your custom content based on where it is viewed:
[scs_post]
– display custom content for single posts[scs_feed]
– display custom content for RSS feeds[scs_both]
– display custom content for single posts & feeds[scs_alt]
– displays content wherever shortcode is included
Dynamic Post Shortcodes
Customize your content with any of the following post variables:
%%id%% = Post ID
%%date%% = Post Date
%%title%% = Post Title
%%author%% = Post Author
%%permalink%% = Post URL
%%year%% = Current year
You can use any of these shortcut variables in any of your custom content. More info provided in the plugin settings.
Check out the screenshot to get a better idea of how it works.
Privacy
This plugin does not collect or store any user data. It does not set any cookies, and it does not connect to any third-party locations. Thus, this plugin does not affect user privacy in any way.
Simple Custom Content is developed and maintained by Jeff Starr, 15-year WordPress developer and book author.
Support development
I develop and maintain this free plugin with love for the WordPress community. To show support, you can make a donation or purchase one of my books:
- The Tao of WordPress
- Digging into WordPress
- .htaccess made easy
- WordPress Themes In Depth
- Wizard’s SQL Recipes for WordPress
And/or purchase one of my premium WordPress plugins:
- BBQ Pro – Super fast WordPress firewall
- Blackhole Pro – Automatically block bad bots
- Banhammer Pro – Monitor traffic and ban the bad guys
- GA Google Analytics Pro – Connect WordPress to Google Analytics
- Simple Ajax Chat Pro – Unlimited chat rooms
- USP Pro – Unlimited front-end forms
Links, tweets and likes also appreciated. Thank you! ??
Screenshots
Installation
Installation
- Upload the plugin to your blog and activate
- Visit the settings to configure your options
More info on installing WP plugins
Example
For example, to display a copyright statement, you can add something like this:
<p>Copyright %%year%% My Company dot com</p>
You can add that snippet to any of the “Custom Content” settings. So you can include it on posts, pages, feeds, and in the header and/or footer, or exactly wherever is required.
Simple Custom Content enables automatic and post-specific custom content. Both of these are discussed below.
Automatic Custom Content
To display your custom content automatically, visit the “Automatic Custom Content” settings. There you can enter custom content for WP Posts and RSS Feeds. And for each, you have the following options:
- Before content
- After content
- Both before and after
- Do not display (disable)
Check out the plugin settings for more infos.
Post-Specific Custom Content
To display custom content only on specific posts, visit the “Post-Specific Custom Content” settings. There you can define custom content for any of the following shortcodes:
[scs_post]
– custom content for single posts[scs_feed]
– custom content for RSS feeds[scs_both]
– custom content for single posts and feeds[scs_alt]
– content wherever shortcode is included
You can add any of these shortcodes to your posts, pages, or any custom post type. Visit the plugin settings for more infos.
Dynamic Post Shortcodes
Customize your content with any of the following post variables:
%%id%% = Post ID
%%date%% = Post Date
%%title%% = Post Title
%%author%% = Post Author
%%permalink%% = Post URL
%%year%% = Current Year (e.g., for copyright)
You can use any of these shortcut variables in any of your custom content. More info provided in the plugin settings.
Like the plugin?
If you like Simple Custom Content, please take a moment to give a 5-star rating. It helps to keep development and support going strong. Thank you!
Upgrades
To upgrade SCC, remove the old version and replace with the new version. Or just click “Update” from the Plugins screen and let WordPress do it for you automatically.
Note: uninstalling the plugin from the WP Plugins screen results in the removal of all settings from the WP database.
Restore Default Options
To restore default plugin options, either uninstall/reinstall the plugin, or visit the plugin settings > Restore Default Options.
Uninstalling
Simple Custom Content cleans up after itself. All plugin settings will be removed from your database when the plugin is uninstalled via the Plugins screen.
FAQ
-
How do I change the priority of the custom content filter?
-
You can use the
scs_content_priority
filter hook, for example you can add the following code via your theme functions.php, or add via custom plugin:function scs_custom_content_priority() { return 999; } add_filter('scs_content_priority', 'scs_custom_content_priority');
This can help if you want to display your custom content at the very end of the post, after any content that may be added via other plugins, etc.
-
Questions? Feedback?
-
Send any questions or feedback via my contact form. Thanks! ??
Reviews
Contributors & Developers
“Simple Custom Content” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Simple Custom Content” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
If you like Simple Custom Content, please take a moment to give a 5-star rating. It helps to keep development and support going strong. Thank you!
20241010
- Tests on WordPress 6.7
Full changelog @ https://plugin-planet.com/wp/changelog/simple-custom-content.txt