IF AS Shortcode
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 :).
Betrachten Sie eine Alternative
IF AS Shortcode shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 2 years ago, and scores 30/100 on our health check.
- Kleine Benutzerbasis (10+ aktive Installationen)
- Bisher sehr wenige Bewertungen
- Kein Update in 2 Jahren
- Nur getestet bis WordPress 6.6 (letzt ist 7.1)
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where IF AS Shortcode stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| conditions | >100 |
| if | >100 |
| if_statement | #1 |
| page_templete_conditions | #1 |
| post_templete_conditions | #1 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 5 from 2 reviews
About IF AS Shortcode
From the official readme · v1.2Beschreibung
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 :
- Create new content and in above tinymce editor you will see button it’s name is “IF”.
- Click “IF” button and choose the condition you need to use inside content area.
- You can select the true block and write otherwise inside else block.
- Save your content and publish to see it!
Menus :
- Click in left side “Appearance”
- Choose from it “Menus” page.
- You must show description field for every menu by this way :
- Click “Screen Options” up the menu page.
- Chack “Description” from that tab.
- Now you can add your restrict content from “Shortcode” tab.
Widgets :
- Click in left side “Appearance”
- Choose from it “Widgets” page.
- Now you have box it’s name “The restricted content”.
- You can move it to any sidebar and fill the felids.
Übersetzungen
- Arabic
- Englisch
List of conditions
- [if current_user_can capability=”administrator”]True content[else]False content[/if]
- [if current_user_can capability=”editor”]True content[else]False content[/if]
- [if current_user_can capability=”author”]True content[else]False content[/if]
- [if current_user_can capability=”contributor”]True content[else]False content[/if]
- [if current_user_can capability=”subscriber”]True content[else]False content[/if]
- [if is_user_logged_in]True content[else]False content[/if]
- [if has_post_thumbnail]True content[else]False content[/if]
- [if comments_open]True content[else]False content[/if]
- [if has_tag]True content[else]False content[/if]
- [if is_attachment]True content[else]False content[/if]
- [if has_excerpt]True content[else]False content[/if]
- [if pings_open]True content[else]False content[/if]
- [if is_home]True content[else]False content[/if]
- [if is_rtl]True content[else]False content[/if]
Beispiel
- Show content for who logged in
[if is_user_logged_in]
Welcome
[else]
You must login to see this content
[/if]
Installation
Installation Automatically
- Click Plugins in the menu dashboard.
- Click Add New.
- Upload and choose “if-as-shortcode.zip” file and activate directly.
- After activated plugin you can use shortcode of if statement everywhere!
Installation Manually
- Download the plugin to your computer.
- Unzip the file and upload it to the “/wp-content/plugins/” by using FTP or Cpanel.
- Activate the plugin through the “Plugins” menu in WordPress dashboard.
- After activated plugin you can use shortcode of if statement everywhere!
Änderungsprotokoll
1.2
- Some minor fixes.
- New function to check status of [Classic Editor] plugin.
- Tested with WP 6.6.X
1.1
- Change released version.
- Test on WP 5.X.X
1.0
- First released version.
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best IF AS Shortcode alternatives
All conditions plugins →Fragen und Antworten
IF AS Shortcode: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is IF AS Shortcode free?
Yes. IF AS Shortcode is free to download and use from the official WordPress.org plugin directory.
Is IF AS Shortcode safe to use in 2026?
IF AS Shortcode shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 2 years ago, and scores 30/100 on our health check.
How many websites use IF AS Shortcode?
IF AS Shortcode is active on 10+ WordPress websites and has been downloaded 4,953 times since it launched in September 2016. It was downloaded 174 times in the last 30 days.
Does IF AS Shortcode work with WordPress 7.1?
IF AS Shortcode is officially tested up to WordPress 6.6.12, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does IF AS Shortcode need?
IF AS Shortcode requires PHP 5.6 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was IF AS Shortcode last updated?
The latest version, 1.2, was released on August 9, 2024 (2 years ago).
Who makes IF AS Shortcode?
IF AS Shortcode is developed and maintained by Mohammad I. Okfie.
What are the best alternatives to IF AS Shortcode?
The most popular alternatives to IF AS Shortcode are Complianz (300K+ installs), Dynamic Conditions (60K+ installs) and LH Agree to Terms (800+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte



