這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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.

螢幕截圖

  • Workflow example. Adding a sidebar widget to display information about the currently viewed post.

安裝

  1. Upload the view-template-widget-for-toolset-types-views folder to /wp-content/plugins/
  2. Activate the plugin (View Template Widget for Toolset Views) through the ‘Plugins’ menu in WordPress
  3. Add a Views Template widget to your site.

常見問題

  • No questions available.
Installation Instructions
  1. Upload the view-template-widget-for-toolset-types-views folder to /wp-content/plugins/
  2. Activate the plugin (View Template Widget for Toolset Views) through the ‘Plugins’ menu in WordPress
  3. Add a Views Template widget to your site.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Content Template Widget for Toolset Views” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Content Template Widget for Toolset Views 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Content Template Widget for Toolset Views 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.2.1

  • Fixed edge case in conditional logic, see: https://wordpress.org/support/topic/widget-shows-on-search-page

1.2

  • If the content template you use in a widget does not print anything, the widget will not be displayed. More info here.

1.1

  • Updated name to reflect the name change introduced in Views 1.3 (View Template -> Content Template)
  • Fixed a bug where all templates would not be available on certain configurations. (Thanks peter8810)

1.0

  • Initial release