WordPress plugin
Optional Content
This plugin makes it easy to conditionally display content. No more if statements in your template files!
- Active installs
- 40+
- Rating
- 5.0 / 5
- Version
- 1.1
- Last updated
- Jun 13, 2011
- Tested up to
- WordPress 3.1.4
- Requires
- WP 2.8.0
Health check
Is Optional Content safe to rely on?
Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.
No update in over a year
Last updated on June 13, 2011. It may not be compatible with current WordPress or PHP, and unfixed issues are a security risk.
Not yet tested with the latest WordPress
Tested up to WordPress 3.1.4. It often still works, but check on staging first.
Few ratings so far
Only 2 ratings on WordPress.org, so the average is not yet a reliable signal.
Rank tracker
Where Optional Content ranks in WordPress.org search
Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.
| Keyword | Position | Change | Trend | Current #1 |
|---|---|---|---|---|
| conditional content | ||||
| if | ||||
| if else | ||||
| optional content | ||||
| php |
Checked against the top 100 WordPress.org search results.
Overview
What Optional Content does
This plugin allows you to show or hide content on a page or post based on a simple shortcode. You don’t need PHP knowledge, or a PHP enabling plugin. Simply use a button on the WYSIWYG editor to select under what condition you would like the content displayed. Fast, simple, and safe. Keep your template files clean by removing your PHP logic. Now allows shortcodes inside of the conditional content.
Display content based on the following conditions:
Manual on/off setting
Before, after, or between specific times (repeated daily)
Before, after or between specific dates
Based on if the visitor is logged in
Based on a specific user (by user id) or multiple users (by user id)
Description from the author's listing. Read the full listing on WordPress.org
Screenshots
Optional Content in action


FAQ
Optional Content: questions and answers
What is Optional Content?
Optional Content is a WordPress plugin by kylegetson. This plugin makes it easy to conditionally display content. No more if statements in your template files!
Is Optional Content free?
Optional Content is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.
How many websites use Optional Content?
WordPress.org reports 40+ active installations of Optional Content. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.
Is Optional Content still maintained?
Optional Content was last updated on June 13, 2011. The current version is 1.1. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.
What does Optional Content require?
Optional Content requires WordPress 2.8.0 or newer. It has been tested up to WordPress 3.1.4.
Can Codefreex set up or customize Optional Content?
Yes. Codefreex installs, configures and customizes WordPress plugins including Optional Content, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.
Free expert review
Need Optional Content set up, customized or fixed?
Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.