WordPress plugin intelligence profile

Optional Content

This plugin makes it easy to conditionally display content. No more if statements in your template files!

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 3.1
Current version1.1
WordPress coverageTested up to WordPress 3.1
Minimum stackWP 2.8.0 · PHP —
Directory statusactive
Last directory update13 Jun 201115y ago
Active installations40Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 2 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Optional Content version 1.1 as active, updated 15y ago and tested up to WordPress 3.1.

Overview

About this plugin

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)
  • Based on GET variables (variables passed on the URL in the form of http://www.example.com/about/?test=value where the variable is ‘test’)
  • Based on POST variables (variables sent via forms)
  • Based on REQUEST variables (either GET or POST variables)
WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • conditional content
  • if else
  • optional content
  • php
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 3.1

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 3.1.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to3.1
Minimum requirementsWordPress 2.8.0 · PHP not listed
Update activity13 Jun 201115y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.