پرش به محتوا
  • ورود
  • نام‌نویسی
WordPress.org

فارسی

  • پوسته‌ها
  • افزونه‌ها
  • اخبار
  • پشتیبانی
  • درباره
  • همکاری در ترجمه
  • واژه‌نامه فارسی
  • تیم ترجمه فارسی
  • رویدادها
  • دریافت وردپرس
دریافت وردپرس

افزونه‌ها

  • علاقه‌مندی‌های من
  • تست بتا
  • توسعه‌دهندگان

This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

دانلود

Logic Shortcodes

توسط Samuel Diethelm
  • جزئیات
  • بررسی‌ها
  • نصب
  • توسعه
پشتیبانی

توضیحات

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.

بررسی‌ها

بررسی‌ای برای این افزونه یافت نشد.

توسعه دهندگان و همکاران

“Logic Shortcodes” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان
  • Samuel Diethelm

ترجمه “Logic Shortcodes” به زبان شما.

علاقه‌ مند به توسعه هستید؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

تغییرات

1.0

  • Initial upload

اطلاعات

  • نگارش: 1.0
  • آخرین بروزرسانی: 7 سال پیش
  • نصب‌های فعال: 10+
  • نسخه وردپرس: 2.5.0 یا بالاتر
  • آزمایش‌شده تا: 5.4.12
  • زبان:
    English (US)
  • برچسب‌ها:
    conditionallogicpostmetataxonomyterm
  • نمایش پیشرفته

ارزیابی‌ها

این افزونه هنوز ارزیابی نشده است.

برای ارسال بررسی وارد شوید.

مشارکت کنندگان

  • Samuel Diethelm

پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

مشاهده انجمن پشتیبانی

  • درباره ما
  • اخبار
  • میزبانی
  • حمایت
  • کوله‌پشتی
  • مستندات
  • توسعه‌دهندگان
  • مشارکت کنید
  • یادگیری
  • ویترین
  • افزونه‌ها
  • پوسته‌ها
  • الگوها
  • WordCamp
  • WordPress.TV
  • بادی‌پرس
  • بی‌بی‌پرس
  • WordPress.com
  • مت
  • حریم خصوصی
  • Public Code
WordPress.org
WordPress.org

فارسی

  • Visit our Facebook page
  • Visit our Twitter account
  • بازدید از حساب کاربری ما در اینستاگرام
  • بازدید از حساب کاربری ما در LinkedIn
کد شعر است.