Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

ACF PHP VARS

Descrição

Finally being able to copy all ACF field variables is here!!!

Supports ACF PRO!

This plugin was build for the awesomeness of the Advanced Custom Fields plugin created by Elliot Condon, so that referencing custom fields is fast and makes life easier for developers.

You are now able to get a complete list of fields that you’ve created, make adjustments with the available options, and simply copy-and-paste them right into your theme template. No more switching back-and-forth screens in order to copy-and-paste field names into your file. whew!

Features

  • Easily switch from field names to field IDs.
  • Easily choose between the_field() or get_field() functions to use.
  • Show all fields-group with fields OR just the fields created within the current field group section.
  • Show Example field code and decriptions.
  • Works great with ACF PRO

I hope you enjoy this plugin and if it works for you, please add your rating. Your donations to (https://PayPal.Me/samjco) will help to make this plugin better!

[Demo video:

](https://screencast.com/t/pS9dukeU/

Demo Video | Screencast

“)

Special thanks to the ACF display plugin.

Instalação

  1. Upload acf-php-vars.php to the /wp-content/plugins/ directory, or install it via the WP Plugin repository
  2. Active o plugin no menu Plugins
  3. A new button will show up in the menu of the dashboard called ACF PHP VARS as well as shown under Custom Fields menu. If you don’t have the ACF plugin activated, the button will not show up.

Perguntas frequentes

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.

Will this plugin work with ACF PRO

Yes.

Avaliações

Ler todas as 5 avaliações

Contribuidores e programadores

“ACF PHP VARS” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

Traduza o “ACF PHP VARS” para o seu idioma.

Interessado no desenvolvimento?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Registo de alterações

1.3

  • Moved ACF Theme PHP menu under Custom Fields menu.
  • Added better readability.
  • Added Support for the latest ACF PRO version
  • Added Support to use if using ACF/ACF PRO within a custom plugin.
  • Added WPDB Table prefixing
  • Fixed various issues.

1.2

  • Added additional ACF PHP VARS menu under Custom Fields menu.
  • Added a Quick View box on Field group page so that user can get vars while making them.

1.1

  • Added support for ACF PRO!
  • Added notification when ACF or ACF PRO isn’t installed.
  • Added Copy all and copy group buttons for ease of copy and pasting.
  • Fix issue with current plugin dir not referencing correctly.
  • Added 128×128 Icon to assets.

1.0

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