Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

ACF Field Display

Beskrivning

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.

Skärmdumpar

  • 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.

Installation

  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.

Vanliga frågor

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.

Recensioner

Läs 1 betyg

Bidragsgivare och utvecklare

”ACF Field Display” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”ACF Field Display” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.0

  • Currently, this is the first version of this plugin and no changes have been made.

1.1

Updated paths to fix errors