Title: Logic Shortcodes
Author: Samuel Diethelm
Published: <strong>19 april 2016</strong>
Last modified: 28 april 2016

---

Plugins zoeken

Deze plugin **is niet getest met de laatste 3 grotere versies van WordPress**. Mogelijk
wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen
ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

![](https://s.w.org/plugins/geopattern-icon/logic-shortcodes.svg)

# Logic Shortcodes

 Door [Samuel Diethelm](https://profiles.wordpress.org/samueldiethelm/)

[Download](https://downloads.wordpress.org/plugin/logic-shortcodes.zip)

 * [Details](https://nl.wordpress.org/plugins/logic-shortcodes/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/logic-shortcodes/#reviews)
 *  [Installatie](https://nl.wordpress.org/plugins/logic-shortcodes/#installation)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/logic-shortcodes/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/logic-shortcodes/)

## Beschrijving

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!

#### Taxonomy

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

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:

 * [if postmeta=”car_model”]Content to show if car model info is present[/if]
 * [if postmeta=”car_model” value=”Tesla Model S”]Content to show if car model is
   Tesla Model S[/if]

## Installatie

 1. Upload the plugin files to the `/wp-content/plugins/` directory, or install the
    plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress

## FAQ

  Where can I use the logic?

Anywhere where shortcodes are accepted and a post or page is being displayed.

## Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

## Bijdragers & ontwikkelaars

“Logic Shortcodes” is open source software. De volgende personen hebben bijgedragen
aan deze plugin.

Bijdragers

 *   [ Samuel Diethelm ](https://profiles.wordpress.org/samueldiethelm/)

[Vertaal “Logic Shortcodes” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/logic-shortcodes)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/logic-shortcodes/), 
haal de [SVN repository](https://plugins.svn.wordpress.org/logic-shortcodes/) op,
of abonneer je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/logic-shortcodes/)
via [RSS](https://plugins.trac.wordpress.org/log/logic-shortcodes/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Initial upload

## Meta

 *  Versie **1.0**
 *  Laatst geüpdatet **10 jaar geleden**
 *  Actieve installaties **10+**
 *  WordPress versie ** 2.5.0 of nieuwer **
 *  Getest t/m **5.4.21**
 *  Taal
 * [English (US)](https://wordpress.org/plugins/logic-shortcodes/)
 * Tags
 * [conditional](https://nl.wordpress.org/plugins/tags/conditional/)[logic](https://nl.wordpress.org/plugins/tags/logic/)
   [postmeta](https://nl.wordpress.org/plugins/tags/postmeta/)[taxonomy](https://nl.wordpress.org/plugins/tags/taxonomy/)
   [term](https://nl.wordpress.org/plugins/tags/term/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/logic-shortcodes/advanced/)

## Waarderingen

Er zijn nog geen beoordelingen ingediend.

[Je beoordeling](https://wordpress.org/support/plugin/logic-shortcodes/reviews/#new-post)

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/logic-shortcodes/reviews/)

## Bijdragers

 *   [ Samuel Diethelm ](https://profiles.wordpress.org/samueldiethelm/)

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/logic-shortcodes/)