Home › Forums › General Issues › Portfolio Taxonomy: Names of Selcted Categories Under Custom Field › Reply To: Portfolio Taxonomy: Names of Selcted Categories Under Custom Field
As far as coding goes, some people might consider me a little anal when it comes to code, for example, if I’m outputting HTML then I always close out of PHP before doing so unless there is some specific reason not to. I don’t like using
echo to output HTML because that makes the HTML difficult to read. There are many ways that coding can be done.
If you want to show the field label, then you’ll also need to get the field object, but I don’t think that’s what you really want to do. That would mean you’d have the same label for every term link. From your first few post it looks to me that you want to show the term name for each link and not the ACF field label.
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!
Are you building WordPress sites with ACF and @BeaverBuilder, and wanted to use your ACF Blocks in both the block editor and Beaver Builder?— Advanced Custom Fields (@wp_acf) May 10, 2023
The BB team recently added support for using ACF Blocks in Beaver Builder. Check it out 👇https://t.co/UalEIa5aQi
© 2023 Advanced Custom Fields.