الانتقال إلى المحتوى
  • دخول
  • تسجيل
WordPress.org

العربية

  • القوالب
  • الإضافات
  • الأخبار
  • الدعم الفني
  • حول
  • #ar الفريق العربي
    • كُتيب المساهمة
  • Get WordPress
Get WordPress

الإضافات

  • مفضلتي
  • إصدارات تجريبية
  • المطوّرون

هذه الإضافة لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية. قد لا تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق عند إستخدامها مع إصدارات حديثة من ووردبريس.

تنزيل

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“ إلى لغتك.

مُهتم بالتطوير؟

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.

سجل التغييرات

1.0

  • Initial upload

ميتا Meta

  • النسخة: 1.0
  • آخر تحديث: قبل 7 سنوات
  • التنصيبات النشطة: 10+
  • نسخة ووردبريس: 2.5.0 أو أعلى
  • تم اختبارها إلى: 5.4.12
  • اللغة:
    English (US)
  • الوسوم:
    conditionallogicpostmetataxonomyterm
  • عرض متقدم

التقييم

لم يتم تقييم الإضافة بعد.

تسجيل الدخول لتقديم مراجعة.

المساهمون

  • Samuel Diethelm

الدعم

لديك شيء لتقوله؟ بحاجة الى مساعدة؟

عرض منتدى الدعم

  • About
  • News
  • Hosting
  • تبرّع
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • الخصوصية
  • Public Code
WordPress.org
WordPress.org

العربية

  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
الكود شِعرٌ.