
內容簡介
停用通知
此外掛已不再維護。
請改使用下一代範本系統:Loops & Logic。
概述
從單一欄位到整個頁面,Custom Content Shortcode 是一套指令,可在需要顯示內容的地方使用。
[content] 短代碼可顯示下列任一項:文章、頁面、自訂文章類型、欄位、影像、選單或小工具區域。
[loop] 短代碼可執行查詢迴圈,例如顯示類別中的可用產品或來自最近 5 則文章的摘要。您可按以下參數進行查詢:文章類型、分類法、日期和欄位值等。
在 [設定] -> [Custom Content] 下有參考資料。
包括的功能
這是一些包括的功能:
廣泛範圍的查詢參數,可顯示網站內容
基於欄位值、登入狀態等的條件內容
詳細網站內容結構概述
相對 URL 連結和影像
快取查詢結果
選用功能:相片集欄位、Mobile Detect、Math
其他外掛支援: Advanced Custom Fields、WCK Fields and Post Types
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Deprecation Notice
This plugin is no longer in active development.
Please use the next-generation template system, Loops & Logic.
Overview
From a single field to entire pages, Custom Content Shortcode is a set of commands to display content where you need.
The [content] shortcode displays any of the following: posts, pages, custom post types, fields, images, menus, or widget areas.
The [loop] shortcode performs query loops. It can display, for example, available products in a category, or excerpts from the 5 most recent posts. You can query by parameters such as: post type, taxonomy, date, and field values.
There is a reference section under Settings -> Custom Content.
Included
Here are some of the included features:
Wide range of query parameters to display site content
Conditional content based on field value, login status, etc.
Overview of your site’s content structure
Relative URLs for links and images
Cache the result of a query
Optional: Gallery field, Mobile Detect, Math
Support for other plugins: Advanced Custom Fields, WCK Fields and Post Types
