WordPress.org

tiếng Việt

  • Giao diện
  • Plugin
  • Tin tức
    • Tài liệu hướng dẫn
    • Diễn đàn
  • Giới thiệu
  • Slack #WPVN
  • Facebook #WPVN
  • Tải WordPress
Tải WordPress
WordPress.org

Plugin Directory

Logic Shortcodes

  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập
  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập

Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

Logic Shortcodes

Bởi Samuel Diethelm
Tải về
  • Chi tiết
  • Đánh giá
  • Cài đặt
  • Nhà phát triển
Hỗ trợ

Mô tả

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]

Cài đặt

  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

Hỏi đáp

Where can I use the logic?

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

Đánh giá

Không có đánh giá nào cho plugin này.

Người đóng góp & Lập trình viên

“Logic Shortcodes” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp
  • Samuel Diethelm

Dịch “Logic Shortcodes” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

1.0

  • Initial upload

Meta

  • Phiên bản 1.0
  • Cập nhật lần cuối 9 năm trước
  • Số lượt cài đặt 10+
  • Phiên bản WordPress 2.5.0 hoặc cao hơn
  • Đã kiểm tra lên đến 5.4.16
  • Ngôn ngữ
    English (US)
  • Thẻ
    conditionallogicpostmetataxonomyterm
  • Nâng cao

Đánh giá

Chưa có đánh giá nào được gửi.

Thêm đánh giá của bạn

Xem tất cả đánh giá

Những người đóng góp

  • Samuel Diethelm

Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

Xem diễn đàn hỗ trợ

  • Giới thiệu
  • Tin tức
  • Lưu trữ
  • Quyền riêng tư
  • Trưng bày
  • Giao diện
  • Plugin
  • Mẫu khối
  • Học hỏi
  • Hỗ trợ
  • Nhà phát triển
  • WordPress.tv ↗
  • Tham gia
  • Sự kiện
  • Quyên góp ↗
  • Năm cho Tương lai
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

tiếng Việt

  • Truy cập tài khoản X (trước đây là Twitter) của chúng tôi
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Xem trang Facebook của chúng tôi
  • Truy cập tài khoản Instagram của chúng tôi
  • Truy cập tài khoản LinkedIn của chúng tôi
  • Visit our TikTok account
  • Truy cập kênh YouTube của chúng tôi
  • Visit our Tumblr account
Viết code như làm thơ.