
內容簡介
內容模板小工具(Content Template Widget) (先前稱為 View Template Widget),可用於在主題小工具區域中插入與當前文章相關的訊息框。可以設定每個小工具要顯示的內容類型。
此外掛需要 Toolset Views,請點擊下面的連結以獲取有關此外掛的更多信息:
http://wp-types.com/home/views-create-elegant-displays-for-your-content/
用法
基本用法
啟用 WordPress 的 Views
建立內容模板
將 WP Views 內容模板小工具添加到您的網站中
標題字段支援短碼,因此您可以在小工具標題中輕鬆使用 wpv- 短碼。
儘管可以選擇「在所有頁面上顯示小工具」來公開小工具,但對於預定義的文章類型而言,它最有用了,如
檔案、列表和標籤頁面只會返回一個結果。(通常是檔案中的第一個項目。)
要在小工具區域中顯示列表,請改用 View Widget (Views 中包含)。
需求
PHP 5.2 或更高版本
翻譯
無。歡迎翻譯。
外掛標籤
開發者團隊
② 後台搜尋「Content Template Widget for Toolset Views」→ 直接安裝(推薦)
原文外掛簡介
Content Template Widget (previously View Template Widget) is useful for inserting information boxes about the current post being displayed in the widget area of your theme. It is possible to configure which content types each widget will be shown on.
This plugin requires Toolset Views. Click the link below for more information on this plugin:
http://wp-types.com/home/views-create-elegant-displays-for-your-content/
Usage
Basic usage
Activate Views for WordPress
Create a Content Template
Add a WP Views Content Template widget to your site
The title field supports shortcodes, so you can easily use a wpv- shortcode in the widget title.
Although it is possible to expose the widget on all pages by selecting “Show widget everywhere”, it is most useful on predefined post types, as
archives, listings and tag pages will only return one result. (Most often the first item in the archive.)
To display a listing in the widget area, use a View Widget instead. (Included in Views.)
Requirements
PHP 5.2 or higher
Translations
None. Translations welcome.
