Linux 软件免费装
Banner图

ACF Field Display

开发者 Shane Provost
Lieberman Technologies
更新时间 2015年1月27日 06:07
PHP版本: 3.0.1 及以上
WordPress版本: 4.1
版权: GPLv2 or later
版权网址: 版权信息

标签

reference acf advanced custom fields

下载

1.1

详情介绍:

This plugin was build of the fantastic Advanced Custom Fields plugin created by Elliot Condon, and was made so that referencing custom fields is easier. Here, you can see a full list of all your currently used field which is sortable by clicking on the headers, and should you need to learn more about the field or edit it, clicking the label name will take you to the field group's page so you can do what you need to. The table sorting functionality incorporates the Tablesorter jQuery plugin by Christian Bach. Docs can be found at http://tablesorter.com/docs/. *Note: This doesn't display fields in your theme. It just gives you a complete list of your fields that you can reference easily and allows you to edit the field groups easily. I tried to mark up the code for this plugin with lots of comments in hope that people can understand how it is working and expand on this functionality. Oh yeah, and all the function and variable names are based off Buster Bluth from Arrested Development.

安装:

  1. Upload acf-field-display.php to the /wp-content/plugins/ directory, or install it via the WP Plugin repository
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. A new button will show up in the menu of the dashboard called ACF Field Display. If you don't have the ACF plugin activated, the button won't show up.
  4. Clicking on the button will take you to a page that displays all your currently used fields in a sortable table. Opening up this page in a new tab and referencing this page while constructing your theme will save you a lot of referencing time.

屏幕截图:

  • This is what the button will look like once the ACF Fields Display plugin is activated.
  • Here is an example of the table once the ACF Field Display is being used.

常见问题:

Why isn't my button showing up?

Make sure sure you have ACF installed and activated.

I can see the button, but why can't I see all my fields?

If this is the case with you, make sure you have custom fields created.

更新日志:

1.0 1.1 Updated paths to fix errors