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…
Betrachten Sie eine 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.
- Kleine Benutzerbasis (30+ aktive Installationen)
- Bisher sehr wenige Bewertungen
- No update in 13 years
- Only tested up to WordPress 3.5 (latest is 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 WP Conditional Shortcodes stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| conditional | >100 |
| Bedingte Tags | >100 |
| Shortcode | >100 |
| Shortcodes | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 5 from 4 reviews
About WP Conditional Shortcodes
From the official readme · v1.1.2Beschreibung
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
- Aktivieren Sie das Plugin über das „Plugins“-Menü in WordPress
Änderungsprotokoll
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
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 WP Conditional Shortcodes alternatives
All conditional plugins →Fragen und Antworten
WP Conditional Shortcodes: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: 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).
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
