
內容簡介
WP Post Classified 是一個 WordPress 外掛,可以用來製作文件、網站地圖、文章列表,幫助您根據分類、標籤或任何類型或分類法來顯示文章列表。所有條件都依賴於短代碼屬性,以下是短代碼的一些範例。
在我們的插件中,
預設分類(term_name)名稱為:「category」。
預設文章類型(post_type)為:「post」。
預設分類法鏈接(term_link)為:「on」。
短代碼範例
[WPPCD_Post]
帶有來自 WordPress 預設文章的文章標題鏈接,以及所有分類名稱。
[WPPCD_Post taxs='123,322']
其中:123、322 是分類 ID,意味著分類法 ID。
[WPPCD_Post post_type='product']
它將顯示所有帶有 WooCommerce 分類法的產品標題鏈接。
[WPPCD_Post post_type='product' term_name='product_tag']
基於 WooCommerce,將顯示來自產品的所有標題,基於 WooCommerce 標籤(product_tag)。
[WPPCD_Post taxs='12,34,56,67' post_type='product' term_name='product_tag' term_link='off' posts_per_page='10']
包含所有屬性的範例:
重要特點
使用基於分類的方式製作文件。
支持自訂文章,
支持任何分類法
可通過過濾器 hook 進行自定義。
支持 posts_per_page 屬性。
支持 post_type 屬性。在此定義文章類型。
支持 taxs 屬性。定義您的分類 ID 或任何類型的 term/taxonomy ID。
支持 term_name 屬性。如:post、tag、product_cat、product_tag 等。
支持 term_link 屬性。 打開或關閉您的分類法鏈接。
外掛標籤
開發者團隊
② 後台搜尋「Post Classfied for making Documentation, Site map, POST List」→ 直接安裝(推薦)
原文外掛簡介
WP Post Classfied for making Docs, Site map, POST List helps you to display post list based on category, tag, or any type or taxonomy. All condition is depend on shortcode attr. See some example of shortcode.
In our plugin
Dfault taxonomy(term_name) name is: ‘category’.
Dfault post type(post_type) is: ‘post’.
Dfault Taxonomy Link(term_link) is: ‘on’.
Shortcode Example
[WPPCD_Post]
Post title with link from WordPress default post with all category name.
[WPPCD_Post taxs='123,322']
Here: 123,322 are category ID. Mean: Taxnomy ID.
[WPPCD_Post post_type='product']
It will display all product title with link with WooCommerce caegory classified.
[WPPCD_Post post_type='product' term_name='product_tag']
It’s depend on WooCommerce, product will display from product, based on WooCommerce tag(product_tag).
[WPPCD_Post taxs='12,34,56,67' post_type='product' term_name='product_tag' term_link='off' posts_per_page='10']
Example with all attr:
Important feature
Making Docs using Category base.
Support custom post,
Support any taxonomy
Customizeable using filter hook.
posts_per_page supported attr.
post_type supported attr. define post type here.
taxs supported attr. define your category ID, or any type term/taxonomy ID.
term_name supported attr. such: post,tag,product_cat,product_tag etc.
term_link supported attr. on or off your taxonomy link.
