🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
WP Conditional Shortcodes icon
Possibly abandoned Tested up to 3.5.2 #18 in conditional

WP Conditional Shortcodes

This plugin gives content developers shortcode equivalents to the conditional tags that WordPress provides for theme developments. Each shortcode only includes its contents if a certain condition is true. This allows…

Active installs30+10+ tier
Downloads · 30d111▲ +113.5% vs prev. 30d
Rating5/54 reviews
Health score31/100At risk
All-time downloads4.1KSince Feb 2013
Support resolved—No recent threads
RequiresWP 2.5PHP any
Downloads · 7d43▲ +104.8% week over week
Our verdict

Consider an alternative

WP Conditional Shortcodes shows warning signs in 2026 — compare the alternatives below before installing. It runs on 30+ sites, is rated 5/5 and was last updated 14 years ago, and scores 31/100 on our health check.

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

How does it stack up?

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

Daily downloads

3711Sep 4Oct 18Dec 2
Yesterday15
Daily average (1y)2
Peak day15Dec 2, 2026
Last 12 months837

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

Rankings

Where WP Conditional Shortcodes stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
conditional >100 2,979 Best conditional plugins →
conditional-tags >100 1,556 Best conditional-tags plugins →
shortcode >100 10,000 Best shortcode plugins →
shortcodes >100 10,000 Best shortcodes plugins →

Version adoption

Share of active sites per release.

  • 1.1100.0%

Rating breakdown

★★★★★★★★★★ 5 from 4 reviews

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

About WP Conditional Shortcodes

From the official readme · v1.1.2

Description

This plugin gives content developers shortcode equivalents to the conditional tags that WordPress provides for theme developments. Each shortcode only includes its contents if a certain condition is true. This allows them to modify what content is shown in any given context on a post-by-post basis. is_page, is_single and is_category allow specific pages, posts, categories to be specified by using the “ids” parameter.

The shortcodes and when they include contents are:

  • is_single – if showing a single post. Use the optional parameter “ids” to specify specific posts.
  • is_singular – if showing a single post or page.
  • is_page – if showing a page. Use the optional parameter “ids” to specify specific pages.
  • is_home – if showing the blog home.
  • is_front_page – if showing the front page of the site.
  • is_sticky – if the current post or page is ‘sticky’.
  • is_category – if showing a category-based archive. Use the optional parameter “ids” to specify specific categories.
  • is_page – if showing a page.
  • is_tag – if showing a tag-based archive.
  • is_tax – if showing a tag- or category-based archive.
  • is_author – if showing an author-based archive.
  • is_archive – if showing any archive.
  • is_year – if showing a yearly archive.
  • is_month – if showing a monthly archive.
  • is_day – if showing a daily archive.
  • is_time – if showing an hourly or shorter archive.
  • is_feed – if generating a feed.
  • is_search – if showing search results.
  • comments_open – if comments are open for the current post or page.

Each shortcode also has an “else” shortcode that can go inside it. For example:

[is_single]
This is only shown if showing just this post.
[not_single]
This is shown everywhere else.
[/is_single]

The is_page, is_category and is_single shortcodes allow you to specify pages, categories, posts on which to show the content if you’d like to only show content within the shortcode on specific pages, posts or categories.

[is_page ids="76, 339"]hello[/is_page]

[is_category ids="5, 7"]hello[/is_page]

[is_single ids="94, 63"]hello[/is_single]

In general, the “else” shortcode is just replacing “is” with “not”. The one exception is “not_comments_open” as the “else” shortcode for “comments_open”.

Whichever chunk of content is included is processed for shortcodes, so you can use all your other shortcodes and even nest these if you need to.

Further Instructions

Any other information I have can be found at the WP Conditional Shortcodes Homepage.

Installation

  1. Activate the plugin through the ‘Plugins’ menu in WordPress

Changelog

1.1.2

  • 2013-02-27
  • Fixed bug with is_front_page not working

1.1.1

  • 2013-02-08
  • Added parameter to is_single shortcode to allow for specific posts

1.1.0

  • 2013-02-05
  • Forked plugin
  • Added parameters to is_category to allow check for specific categories
  • Added is_page shortcode
  • Added parameter to is_page shortcode to allow for specific pages

1.0.0

*Initial version, pre-fork

Full changelog on WordPress.org →

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 WP Conditional Shortcodes alternatives

All conditional plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Dynamic Visibility for Elementor Dynamic Visibility for Elementor Show or hide Elementor widgets, containers, columns, and pages based on user role, date… by Dynamic.ooo 40K+ ★★★★★★★★★★ 4.6 (89) 2 months ago 74
2 Ele Conditions for Elementor Ele Conditions for Elementor Add interactive triggers and conditional display logic to any Elementor element — show… by dudaster 2K+ ★★★★★★★★★★ 4.2 (5) 7 months ago 52
3 Content Visibility for Divi Builder Content Visibility for Divi Builder Content Visibility for Divi Builder. by Jonathan Horowitz 2K+ ★★★★★★★★★★ 4.8 (101) 2 months ago 67
4 Conditional Logic Emails, Fields, Redirect for Elementor Forms Conditional Logic Emails, Fields, Redirect for Elementor Fo… Show and hide fields. Send certain email, don't send others. Redirect to one of many pages… by add-ons.org 2K+ ★★★★★★★★★★ 4.3 (12) 3 months ago 76
5 Simple Image Popup Simple Image Popup A modern popup manager for WordPress with multiple popups, targeting rules, legacy… by mrdigital 1K+ ★★★★★★★★★★ 5 (3) 1 week ago 77
6 If-So Conditional Content for Elementor If-So Conditional Content for Elementor Conditional Logic for Elementor. No setup or coding required. Fully compatible with any… by If-So Dynamic Content 1K+ ★★★★★★★★★★ 5 (1) 3 months ago 67
7 Extra Shipping Rates for WooCommerce Extra Shipping Rates for WooCommerce Easily set shipping rates based on a variety of conditions to match your business… by Viszt Péter 1K+ ★★★★★★★★★★ 5 (3) 4 weeks ago 66
8 Menu Visibility Control Menu Visibility Control Control WordPress menu item visibility based on login status, user roles, device type, or… by Davis Simiyu Wanyonyi 800+ ★★★★★★★★★★ 5 (3) 2 months ago 77
9 Block Logic – Full Block Display Control Block Logic – Full Block Display Control Block Logic adds a "Block Logic" field to the block editor, that lets you show or hide any… by landwire 300+ ★★★★★★★★★★ 5 (13) 6 months ago 49
10 Display During Conditional Shortcode Display During Conditional Shortcode Show or hide content based on date ranges, recurring day/time schedules, or custom… by Gabriel Serafini 200+ ★★★★★★★★★★ 5 (3) 1 week ago 76

FAQ

WP Conditional Shortcodes: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is WP Conditional Shortcodes free?

Yes. WP Conditional Shortcodes is free to download and use from the official WordPress.org plugin directory.

Is WP Conditional Shortcodes safe to use in 2026?

WP Conditional Shortcodes shows warning signs in 2026 — compare the alternatives below before installing. It runs on 30+ sites, is rated 5/5 and was last updated 14 years ago, and scores 31/100 on our health check.

How many websites use WP Conditional Shortcodes?

WP Conditional Shortcodes is active on 30+ WordPress websites and has been downloaded 4,110 times since it launched in February 2013. It was downloaded 111 times in the last 30 days.

Does WP Conditional Shortcodes work with WordPress 7.1?

WP Conditional Shortcodes is officially tested up to WordPress 3.5.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was WP Conditional Shortcodes last updated?

The latest version, 1.1.2, was released on February 27, 2013 (14 years ago).

Who makes WP Conditional Shortcodes?

WP Conditional Shortcodes is developed and maintained by TomHarrigan.

What are the best alternatives to WP Conditional Shortcodes?

The most popular alternatives to WP Conditional Shortcodes are Dynamic Visibility for Elem… (40K+ installs), Ele Conditions for Elementor (2K+ installs) and Content Visibility for Divi… (2K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open