As of April 2026, Conditional Tags Shortcode is a WordPress page plugin with 100 active installations and a 5/5 rating from 2 reviews. It has been downloaded 8.2K+ times in total. Requires WordPress 3.1+ and PHP false+. Available on WordPress.org since 2015. Last updated 5 years ago — may have compatibility concerns. Top alternative: Post Type Switcher.
With this shortcode you can take control of where the content is displayed.
You can use all the conditional tags WordPress provides. Checkout examples below.
Show text only on the homepage:
[if is_front_page] The text [/if]
Show text only on the About page of the site:
[if is_page=”about”] The text [/if]
Show only on the category archive view:
[if is_category] The text [/if]
You can add “not_” before the conditional tag to reverse the logic, example:
Show on all pages of the site except the homepage:
[if not_is_front_page] The text [/if]
Using multiple parameters, the content is displayed when either of the conditions are met (“OR” comparison), for example, show text on both category and tag archive pages:
[if is_category is…
| WordPress | 3.1+ requiredTested up to 5.4.19 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.