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

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# ACF Dynamic Choices

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

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

 * [Detaljer](https://da.wordpress.org/plugins/acf-dynamic-choices/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/acf-dynamic-choices/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/acf-dynamic-choices/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/acf-dynamic-choices/#developers)

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

## Beskrivelse

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

## Installation

 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.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“ACF Dynamic Choices” er open source-software. Følgende personer har bidraget til
dette plugin.

Bidragsydere

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

[Oversæt “ACF Dynamic Choices” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/acf-dynamic-choices)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/acf-dynamic-choices/),
tjek [SVN repository](https://plugins.svn.wordpress.org/acf-dynamic-choices/), eller
abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/acf-dynamic-choices/)
via [RSS](https://plugins.trac.wordpress.org/log/acf-dynamic-choices/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### .5

 * Initial public release

## Meta

 *  Version **.5**
 *  Senest opdateret **12 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 3.0.1 eller højere **
 *  Testet op til **3.9.40**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/acf-dynamic-choices/)
 * Tags
 * [acf](https://da.wordpress.org/plugins/tags/acf/)[Dynamic](https://da.wordpress.org/plugins/tags/dynamic/)
   [query](https://da.wordpress.org/plugins/tags/query/)[sql](https://da.wordpress.org/plugins/tags/sql/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/acf-dynamic-choices/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  1 5-stjernet anmeldelse     ](https://wordpress.org/support/plugin/acf-dynamic-choices/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/acf-dynamic-choices/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/acf-dynamic-choices/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/acf-dynamic-choices/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/acf-dynamic-choices/reviews/?filter=1)

[Din anmeldelse](https://wordpress.org/support/plugin/acf-dynamic-choices/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/acf-dynamic-choices/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

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