Title: ACF Dynamic Choices
Author: grexican
Published: <strong>16 julho, 2014</strong>
Last modified: 16 julho, 2014

---

Pesquisar plugins

Este plugin **não foi testado com os 3 lançamentos principais mais recentes do WordPress**.
Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade
quando usado com versões mais recentes do WordPress.

![](https://s.w.org/plugins/geopattern-icon/acf-dynamic-choices.svg)

# ACF Dynamic Choices

 Por [grexican](https://profiles.wordpress.org/grexican/)

[Baixar](https://downloads.wordpress.org/plugin/acf-dynamic-choices.0.5.zip)

 * [Detalhes](https://br.wordpress.org/plugins/acf-dynamic-choices/#description)
 * [Avaliações](https://br.wordpress.org/plugins/acf-dynamic-choices/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/acf-dynamic-choices/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/acf-dynamic-choices/#developers)

 [Suporte](https://wordpress.org/support/plugin/acf-dynamic-choices/)

## Descrição

If you’ve ever needed your ACF choices to be dynamically generated by a SQL query,
this plugin will help you get the job done.

You can mix and match static choices with dynamic, SQL-based choices by placing 
as many regular choices in the list as you’d like, followed by the special `%%QUERY%%`
choice that will tell this plugin to load choices dynamically from the database.

An example on how to list users, setting the `id` as the value, would look like 
this:

    ```
    %%QUERY%% : SELECT user_nicename AS text, id AS value FROM wp_users
    ```

### Arbitrary section

## Instalação

 1. Upload `acf-dynamic-choices` folder to the `/wp-content/plugins/` directory. Alternatively,
    install the `zip` through the WordPress Plugins installer.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place a query in your ACF choices box in this form: `%%QUERY%% : SELECT field1 
    AS text, field2 AS value FROM ....`
 4. Browse to a Post or the Options Page where you just added the dynamic query and
    ensure that the choices are properly being populated.

## Avaliações

Não há avaliações para este plugin.

## Colaboradores e desenvolvedores

“ACF Dynamic Choices” é um programa de código aberto. As seguintes pessoas contribuíram
para este plugin.

Colaboradores

 *   [ grexican ](https://profiles.wordpress.org/grexican/)

[Traduzir o “ACF Dynamic Choices” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/acf-dynamic-choices)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/acf-dynamic-choices/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/acf-dynamic-choices/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/acf-dynamic-choices/)
por [RSS](https://plugins.trac.wordpress.org/log/acf-dynamic-choices/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### .5

 * Initial public release

## Meta

 *  Versão **.5**
 *  Última atualização **12 anos atrás**
 *  Instalações ativas **10+**
 *  Versão do WordPress ** 3.0.1 ou superior **
 *  Testado até **3.9.40**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/acf-dynamic-choices/)
 * Tags
 * [acf](https://br.wordpress.org/plugins/tags/acf/)[Dynamic](https://br.wordpress.org/plugins/tags/dynamic/)
   [query](https://br.wordpress.org/plugins/tags/query/)[sql](https://br.wordpress.org/plugins/tags/sql/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/acf-dynamic-choices/advanced/)

## Classificações

 5 de 5 estrelas.

 *  [  1 avaliação com 5 estrela     ](https://wordpress.org/support/plugin/acf-dynamic-choices/reviews/?filter=5)
 *  [  0 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/acf-dynamic-choices/reviews/?filter=4)
 *  [  0 avaliação com 3 estrela     ](https://wordpress.org/support/plugin/acf-dynamic-choices/reviews/?filter=3)
 *  [  0 avaliação com 2 estrela     ](https://wordpress.org/support/plugin/acf-dynamic-choices/reviews/?filter=2)
 *  [  0 avaliação com 1 estrela     ](https://wordpress.org/support/plugin/acf-dynamic-choices/reviews/?filter=1)

[Sua avaliação](https://wordpress.org/support/plugin/acf-dynamic-choices/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/acf-dynamic-choices/reviews/)

## Colaboradores

 *   [ grexican ](https://profiles.wordpress.org/grexican/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/acf-dynamic-choices/)