BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
Optional Content icon
Possibly abandoned Tested up to 3.1.4 #4 in conditional content

Optional Content

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…

Active installs40+10+ tier
Downloads · 30d73▲ +102.8% vs prev. 30d
Rating5/52 reviews
Health score31/100At risk
All-time downloads6KSince Mar 2010
Support resolved—No recent threads
RequiresWP 2.8.0PHP any
Downloads · 7d12▼ -14.3% week over week
Our verdict

Consider an alternative

Optional Content shows warning signs in 2026 — compare the alternatives below before installing. It runs on 40+ sites, is rated 5/5 and was last updated 15 years ago, and scores 31/100 on our health check.

  • Small user base (40+ active installs)
  • Very few reviews so far
  • No update in 15 years
  • Only tested up to WordPress 3.1 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

257Jul 10Aug 23Oct 7
Yesterday2
Daily average (1y)1
Peak day10Sep 11, 2026
Last 12 months425

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Optional Content stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
conditional content >100 2,285 Best conditional content plugins →
if >100 0 Best if plugins →
if else >100 4,271 Best if else plugins →
optional content >100 10,000 Best optional content plugins →
php >100 10,000 Best php plugins →

Version adoption

Share of active sites per release.

  • 1.1100.0%

Rating breakdown

★★★★★★★★★★ 5 from 2 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Optional Content

From the official readme · v1.1

Description

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)

Installation

  1. Upload the folder optional-content to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use the ‘[if]’ button now on the tinyMCE WYSIWYG editor.

Changelog

Upgrade now, fixed bugs, added features

1.1

Fixed issues with selecting a user
Added the ability for multiple users
Now allows for shortcodes inside shortcodes

1.0.0

  • Plugin functional and tested by a small group of volunteers

Full changelog on WordPress.org →

Screenshots

The editor button
The editor button
The window to insert the optional content
The window to insert the optional content

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Optional Content alternatives

All conditional content plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Block Visibility — Conditional Visibility Control for the Block Editor Block Visibility Easily show or hide any WordPress block. Schedule block visibility. Restrict blocks to… by Nick Diego 40K+ ★★★★★★★★★★ 4.9 (108) 3 weeks ago 95
2 Logic Hop – Dynamic Content Personalization for WordPress Logic Hop – Dynamic Content Personalization for WordPress Personalize every visit. Logic Hop turns your WordPress site into a high‑converting… by Logic Hop 80+ ★★★★★★★★★★ 4.5 (10) 11 months ago 39
3 All-in-One Content Restriction – Conditional Content Visibility & Access Control for WordPress All-in-One Content Restriction Take control of your content. Restrict any post, page, or custom content based on user… by HalalBrains 60+ ★★★★★★★★★★ 5 (1) 5 months ago 53
5 Conditional Content Conditional Content Looking for a tool for adding sticky content on your WordPress site pages/posts? by extremeidea 10+ ★★★★★★★★★★ 5 (5) 6 years ago 35
6 NEEED – Dynamic Websites NEEED – Dynamic Websites NEEED helps you to individually communicate with your visitors. Show dynamic content based… by keinmarketing 10+ ★★★★★★★★★★ No reviews 4 years ago 23
7 Fast Beaver Control Fast Beaver Control Fast BeaverControl gives you the power to show or hide any Beaver Builder page content… by fastflow 10+ ★★★★★★★★★★ 3 (2) 3 years ago 24
8 WP Contents Dynamic Display WP Contents Dynamic Display WP Contents Dynamic Display allows users to create variations of contents that gets… by WebSPI 10+ ★★★★★★★★★★ No reviews 10 years ago 23
9 DXP ToolKit DXP ToolKit Boost conversions by engaging your audience with DXP ToolKit's no-code personalization for… by Crowd Favorite 10+ ★★★★★★★★★★ 5 (1) 2 months ago 64
10 Fast BlockControl Fast BlockControl Easily Control The Visibility Of Your Gutenberg Blocks With Tags by fastflow 10+ ★★★★★★★★★★ No reviews 3 years ago 23
11 Conditional Content by Crowd Favorite Conditional Content by Crowd Favorite Custom personalization matters! Conditional Content is designed to integrate seamlessly… by Crowd Favorite 10+ ★★★★★★★★★★ No reviews 4 years ago 23

FAQ

Optional Content: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Oct 8, 2026

Is Optional Content free?

Yes. Optional Content is free to download and use from the official WordPress.org plugin directory.

Is Optional Content safe to use in 2026?

Optional Content shows warning signs in 2026 — compare the alternatives below before installing. It runs on 40+ sites, is rated 5/5 and was last updated 15 years ago, and scores 31/100 on our health check.

How many websites use Optional Content?

Optional Content is active on 40+ WordPress websites and has been downloaded 5,964 times since it launched in March 2010. It was downloaded 73 times in the last 30 days.

Does Optional Content work with WordPress 7.1?

Optional Content is officially tested up to WordPress 3.1.4, while the latest release is 7.1.3. It may still work, but try it on a staging site first.

When was Optional Content last updated?

The latest version, 1.1, was released on June 13, 2011 (15 years ago).

Who makes Optional Content?

Optional Content is developed and maintained by kylegetson.

What are the best alternatives to Optional Content?

The most popular alternatives to Optional Content are Block Visibility (40K+ installs), Logic Hop (80+ installs) and All-in-One Content Restrict… (60+ installs).

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.