Mô tả
This is the long description. No limit, and you can use Markdown (as well as in the following sections).
For backwards compatibility, if this section is missing, the full length of the short description will be used, and
Markdown parsed.
The list of condition that can be applied:
- if is specific post ID
- if is specific post TYPE
- if is specific post CATEGORY
- if is specific post TAG
Woocommerce:
- if is specific product ID
- if is specific product TYPE
- if is specific product PRODUCT_CAT
- if is specific product PRODUCT_TAG
Cài đặt
- Upload
dyco-shortcode.phpto the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Place
[display][/display]in your anywhere with the relevant condition to the content of any page, builder.
Hỏi đáp
-
How to display specific content for products in specific page
-
Just change the CATEGORY_NAME to the relevant category
[display post_type=”product” product_cat=”CATEGORY_NAME”]
specific content you want to display in case the product is in CATEGORY_NAME
[/display]Also best if added alternative content to this condition (if its not the mention above category, what to display) and you do just by adding a parameter not=”true”, and it will invert the query.
This way:[display not=”true “post_type=”product” product_cat=”CATEGORY_NAME”]
specific content you want to display in case its not CATEGORY_NAME
[/display]
Đánh giá
Không có đánh giá nào cho plugin này.
Người đóng góp & Lập trình viên
“Dynamic Content Shortcode” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “Dynamic Content Shortcode” 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.1
- publish to wordpress repo
- First test of plugin features
0.1
- Export from mu-plugin to proper WordPress plugin