Hi,
i’am using the worpdress plugin ACF to get custom fields in the document settings of each page – this works fine (i have created foo and bar):
From now i can use these infos in the frontend. Additionally i wanne to fill the dropdown (select) “bar” with dynamic content. In my case custom post types (its a list of some articles) which i created in the functions.php with add_action( 'init', 'custom_post_type', 0 );
. I can edit the articles and create new articles, but i can’t put the article list in the dropdown. Anyone can help me?
How do I create a dynamic drop down list in HTML?