WordPress plugin
Logic Shortcodes
Use shortcodes for conditional logic based on post meta or taxonomy terms.
- Active installs
- 10+
- Version
- 1.0
- Last updated
- Apr 28, 2016
- Tested up to
- WordPress 5.4.26
- Requires
- WP 2.5.0
Health check
Is Logic Shortcodes safe to rely on?
Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.
No update in over a year
Last updated on April 28, 2016. It may not be compatible with current WordPress or PHP, and unfixed issues are a security risk.
Not yet tested with the latest WordPress
Tested up to WordPress 5.4.26. It often still works, but check on staging first.
Rank tracker
Where Logic Shortcodes ranks in WordPress.org search
Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.
| Keyword | Position | Change | Trend | Current #1 |
|---|---|---|---|---|
| conditional | ||||
| logic | ||||
| postmeta | ||||
| taxonomy | ||||
| term | ||||
| logic shortcodes |
Checked against the top 100 WordPress.org search results.
Overview
What Logic Shortcodes does
This plugin enables the use of [if] shortcodes to work with conditional logic based on the existence of post meta or taxonomy terms on posts and pages.
Please consider taking a minute to rate the plugin or let me know any feature request. Thanks!
With conditional logic for taxonomy terms, you can use names, slugs or term_ids:
[if taxonomy=”category” slug=”cars”]Content to show[/if]
[if taxonomy=”category” name=”Cars”]Content to show[/if]
[if taxonomy=”category” id=”123″]Content to show[/if]
Post meta (or custom field) logic can be used to check if a certain meta_key AND meta_value combination are present or just a meta_key:
Description from the author's listing. Read the full listing on WordPress.org
FAQ
Logic Shortcodes: questions and answers
What is Logic Shortcodes?
Logic Shortcodes is a WordPress plugin by Samuel Diethelm. Use shortcodes for conditional logic based on post meta or taxonomy terms.
Is Logic Shortcodes free?
Logic Shortcodes is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.
How many websites use Logic Shortcodes?
WordPress.org reports 10+ active installations of Logic Shortcodes. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.
Is Logic Shortcodes still maintained?
Logic Shortcodes was last updated on April 28, 2016. The current version is 1.0. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.
What does Logic Shortcodes require?
Logic Shortcodes requires WordPress 2.5.0 or newer. It has been tested up to WordPress 5.4.26.
Can Codefreex set up or customize Logic Shortcodes?
Yes. Codefreex installs, configures and customizes WordPress plugins including Logic Shortcodes, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.
Free expert review
Need Logic Shortcodes set up, customized or fixed?
Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.