Home › Forums › General Issues › Portfolio Taxonomy: Names of Selcted Categories Under Custom Field › Reply To: Portfolio Taxonomy: Names of Selcted Categories Under Custom Field
Thanks, John.
Sorry…I’m a bit cloudy about understanding exactly what ACF Pro does. I was confusing the flexible content field with something that would allow me to add a link to each choice, but further reading is leading me down a rabbit hole, so maybe it’s not the answer.
Yes, that code works for links. So would I also use something like
<a href="<?php echo get_term_link($term); ?> . echo $field['label'] . </a>
to show the link as the name of the category? It’s not working so something isn’t right in my syntax. I’m a little confused as to when to use single quotes to indicate switching to html or single out items not native to php, and when to use the dots. Thanks again. You’ve helped tremendously already.
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.