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

Pods Auto-Display

描述

This simple plugin displays a Pod’s custom fields at the bottom of a custom post type. It works by filtering the_content, so it should work with any theme or template.

Needless to say, it requires the Pods Framework plugin to be installed.

You have the option to enable the plugin for certain pods, and to specify which fields should be automatically displayed. The plugin will look for a Pods template with the name (pod-name)detail. This name is editable with a filter: pods_auto_display_template_name(post_type). If that template is found, it will be displayed under the post content.

If the template is not found, the plugin will create an unordered list under the post content. Each list item has the field label in bold, followed by the field value. Empty values will not be displayed. All of the output is filtered, so you could change it to print a table if you wanted to.

安裝

  1. Standard WP plugin install. Either download it to your plugins directory or install via WordPress.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Pods Auto-Display” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Pods Auto-Display 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

0.4.1

  • Fixed bug #2049: some pod fields weren’t displayed in settings page

0.4

  • Lots of changes to make plugin ready for general use
  • Add a number of filters for user to control output
  • Admin page allows user to control which fields will be displayed
  • Admin page allows user to set template name for each pod
  • Now displays all types of fields correctly
  • Automatically displays website fields and Page relationships as links
  • Added some simple anti-spam script for displaying email addresses

0.3

  • Ghastly error caused by typo – sorry folks

0.2

  • Cleaned up code
  • Added filter: pods_auto_display_template_name_(post_type)
  • Added admin screen to enable for specific pods.

0.1

  • Initial release.
  • Works, but cannot be disabled per pod. It’s on or off.