Title: Logic Shortcodes
Author: Samuel Diethelm
Published: <strong>اپریل 19, 2016</strong>
Last modified: اپریل 28, 2016

---

پلگ انز تلاش کریں

یہ پلگ ان **ورڈپریس کے تازہ ترین 3 ریلیزوں کے ساتھ ٹیسٹ نہیں کیا گیا ہے**۔ اب یہ
برقرار نہیں رکھا جا سکتا یا معاونت نہیں کی جا سکتی اور اس کو ورڈپریس کے تازہ ترین
ورژنز کے ساتھ استعمال کیے جانے پر مطابقت کے مسائل ہو سکتے ہیں۔

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

# Logic Shortcodes

 منجانب [Samuel Diethelm](https://profiles.wordpress.org/samueldiethelm/)

[ڈاؤن لوڈ کریں](https://downloads.wordpress.org/plugin/logic-shortcodes.zip)

 * [تفصیلات](https://ur.wordpress.org/plugins/logic-shortcodes/#description)
 * [جائزے](https://ur.wordpress.org/plugins/logic-shortcodes/#reviews)
 *  [انسٹالیشن](https://ur.wordpress.org/plugins/logic-shortcodes/#installation)
 * [ڈیولپمنٹ](https://ur.wordpress.org/plugins/logic-shortcodes/#developers)

 [معاونت](https://wordpress.org/support/plugin/logic-shortcodes/)

## تفصیل

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]

## انسٹالیشن

 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

## عمومی سوالات

  Where can I use the logic?

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

## جائزے

There are no reviews for this plugin.

## شراکت دار اور ڈیویلپرز

“Logic Shortcodes” اوپن سورس سافٹ ویئر ہے۔ مندرجہ ذیل لوگوں نے اس پلگ ان میں حصہ
لیا:

شراکت دار

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

[“Logic Shortcodes” کا اپنی زبان میں ترجمہ کریں۔](https://translate.wordpress.org/projects/wp-plugins/logic-shortcodes)

### ڈویلپمینٹ میں دلچسپی ہے؟

[کوڈ براؤز کریں](https://plugins.trac.wordpress.org/browser/logic-shortcodes/)، 
[ایس این وی ریپوزیٹری](https://plugins.svn.wordpress.org/logic-shortcodes/) کو چیک
کریں یا [ڈویلپمینٹ لاگ](https://plugins.trac.wordpress.org/log/logic-shortcodes/)
کو سبسکرائب کریں بذریعہ [آر ایس ایس](https://plugins.trac.wordpress.org/log/logic-shortcodes/?limit=100&mode=stop_on_copy&format=rss)۔

## چینج لاگ

#### 1.0

 * Initial upload

## میٹا

 *  Version **1.0**
 *  Last updated **10 سال پہلے**
 *  Active installations **10+**
 *  WordPress version ** 2.5.0 یا اس سے جدید **
 *  Tested up to **5.4.21**
 *  Language
 * [English (US)](https://wordpress.org/plugins/logic-shortcodes/)
 * Tags
 * [conditional](https://ur.wordpress.org/plugins/tags/conditional/)[logic](https://ur.wordpress.org/plugins/tags/logic/)
   [postmeta](https://ur.wordpress.org/plugins/tags/postmeta/)[taxonomy](https://ur.wordpress.org/plugins/tags/taxonomy/)
   [term](https://ur.wordpress.org/plugins/tags/term/)
 *  [اعلی درجے کا منظر](https://ur.wordpress.org/plugins/logic-shortcodes/advanced/)

## درجہ بندیاں

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/logic-shortcodes/reviews/)

## شراکت دار

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

## معاونت

کچھ کہنا ہے؟ مدد چاہیے؟

 [معاونتی فورم دیکھیں](https://wordpress.org/support/plugin/logic-shortcodes/)