Linux 软件免费装

Pods Auto-Display

开发者 tysonlt
更新时间 2013年11月20日 09:01
PHP版本: 3.0.1 及以上
WordPress版本: 3.7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

custom post types filter pods

下载

0.1 0.2 0.3 0.4 0.4.1

详情介绍:

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.

更新日志:

0.4.1 0.4 0.3 0.2 0.1