BACK TO DIRECTORY

Optional Content

by kylegetson

5.0
(2 ratings)

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)

Screenshots

The editor button

The editor button

The window to insert the optional content

The window to insert the optional content

Plugin Details

Active Installs
40
Total Downloads
5,920
Version
1.1
Requires WP
2.8.0
Requires PHP
Tested Up To
3.1.4
Added
2010-03-15
Last Updated
2011-06-13 2:59am GMT

Ratings

5
2
4
0
3
0
2
0
1
0