You can use if statement as shortcode everywhere you want!
As of April 2026, IF AS Shortcode is a WordPress if plugin with 10 active installations and a 5/5 rating from 2 reviews. It has been downloaded 3.6K+ times in total. Requires WordPress 4.0+ and PHP 5.6+. Available on WordPress.org since 2016. Last updated 1 year ago — may have compatibility concerns. Top alternative: VK Dynamic If Block.
This is plugin help you to add conditions inside any post types, menus, and widgets to restrict the content by use shortcode without use php code or other language :).
| WordPress | 4.0+ requiredTested up to 6.6.5 |
| PHP | 5.6+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.