PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. If
  4. IF AS Shortcode
IF AS Shortcode icon

IF AS Shortcode

You can use if statement as shortcode everywhere you want!

By Mohammad I. Okfie·If·Free
5(2 reviews)
·10 active installs·Updated 1 year ago
DownloadVisit HomepageCompare

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.

5/52 reviews
10active installs
3.6K+total downloads
10 yearssince 2016

Overview

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 :).

Posts/Pages/Other Post Types :

  1. Create new content and in above tinymce editor you will see button it’s name is “IF”.
  2. Click “IF” button and choose the condition you need to use inside content area.
  3. You can select the true block and write otherwise inside else block.
  4. Save your content and publish to see it!

Menus :

  1. Click in left side “Appearance”
  2. Choose from it “Menus” page.
  3. You must show description field for every menu by this way :
  4. Click “Screen Options” up the menu page.
  5. Chack “Description” from that tab.
  6. Now you can add your restrict content…
Read full description on WordPress.org

Screenshots

Ratings & Reviews

52 reviews
5 ★
2
4 ★
0
3 ★
0
2 ★
0
1 ★
0

Compatibility

WordPress4.0+ requiredTested up to 6.6.5
PHP5.6+ required

Top Alternatives to IF AS Shortcode

VK Dynamic If Block icon
VK Dynamic If Block
53.0K+ installsUpdated 2 weeks ago
ViewCompare
If Shortcode icon
If Shortcode
5200 installsUpdated 1 year ago
ViewCompare
Optional Content icon
Optional Content
540 installsUpdated 14 years ago
ViewCompare
Conditions for Texts (Dynamic Content) icon
Conditions for Texts (Dynamic Content)
010 installsUpdated 7 years ago
ViewCompare
View all if plugins →

Frequently Asked Questions

Changelog

1.2

  • Some minor fixes.
  • New function to check status of [Classic Editor] plugin.
  • Tested with WP 6.6.X
View full changelog on WordPress.org

Contributors

Mohammad I. OkfieMohammad I. Okfie
Plugin Info
Version
1.2
Last Updated
Aug 9, 2024
WP Requires
4.0+
Tested Up To
6.6.5
PHP Requires
5.6+
Active Installs
10
Downloads
3.6K+
Added
Sep 16, 2016
Business
Free

Tags

ifconditionsif_statementpage_templete_conditionspost_templete_conditions

Developer

M
Mohammad I. Okfie
3 plugins0.0M+ total installs
View all plugins →

Quick Compare

IF AS Shortcode vs VK Dynamic If Block→IF AS Shortcode vs If Shortcode→IF AS Shortcode vs Optional Content→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.