1) This dosn’t work (it displays nothing):
<?php $term = get_field('selecttaxonomy'); if( $term ): ?> <h2><?php echo $term->name; ?></h2> <p><?php echo $term->description; ?></p> <?php endif; ?>
Am I missing something?
2) I’ve already looked at this and didn’t understand it then either! Is there a tutorial video?
('meta_value' => 'Melbourne' Melbourne is still typed in and not the selected value of the field)
3) Sorry, my bad english.
What I want is for the taxonomy field to be a (selectable) drop down list on the front end instead of just the backend.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
Now that we've released this update, we recommend updating your sites as soon as possible.
© 2022 Advanced Custom Fields.