plugin-icon

Pods Auto-Display

제작자: tysonlt·
Automatically displays Pods custom fields below custom post content.
등급
5/5
버전
0.4.1
활성화된 설치 항목
20
최근 업데이트일
Nov 20, 2013

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.

무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 3.7.41
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.