Since you get the values from a taxonomy you should include the term object in the get_field()
get_field('favicon',$category);
Here is the guide from ACF:
https://www.advancedcustomfields.com/resources/adding-fields-taxonomy-term/
Related Posts:
- Order by custom field attribute
- fetch from an external api call and display results in page
- How to loop over custom fields in a page template?
- Print html when custom field has value inside while loop
- How to add custom taxonomy slug in CPT permalink?
- Show Custom Taxonomy Title
- wp_query to find posts by year and month
- Create a random unique 6 digit number as custom field for custom post type
- Custom Post Type Taxonomies -Posts not showing in Category or Tag pages
- Sum custom field values of particular taxonomy
- Why my filterable portfolio page work not perfectly between slug button and slug output WORDRPESS?
- How can I add extra word in permalink when someone click download button?
- Custom field values to taxonomy terms
- Control content before and after custom post type loop
- Show ACF field with link to ultimate member profile/WordPress user profile below the post (single post layout)
- Get data from PHP to JavaScript to set position of each post on front page
- WordPress loop by meta key that is an array? and how loop multiple arrays
- Compare Two Custom Post Types Using The Same Custom Taxonomy
- How to break up php code to avoid echo
- WordPress: Displaying all the post tags from within a specific taxonomy’s term
- Displaying Posts Using a Custom Query with a Custom Field and a term_id
- How do I ensure that post_type and Taxonomy use the same slug?
- Woocommerce Custom Meta Boxes- How to only display if they actually have content
- Products listing check if meta checkbox is checked
- when looping through custom post data not appearing
- Where does php code to load data go?
- ACF – Can’t get custom post type by taxonomy
- Filtering custom posts by using checkboxes for taxonomy in an ajax loop always gives server 500 error
- Combine multiple separate lists into one
- Adding a Section for Visitors
- Show parent category and subcategory once in while loop
- Custom taxonomy template for custom fields loop [closed]
- Add active class to foundation 6 tabs while looping categories
- WordPress loop add heading before first of type
- How to make a shortcode for my WP_Query Loop? [duplicate]
- WordPress query posts by custom post type not workng
- enumerating custom taxonomies?
- Custom Taxonomy Link Text Echo Name Not Slug
- divide custom field values in div every two values
- Show Custom Post Type taxonomy term that matches custom field
- WordPress Custom Post Type and sort by Tags
- How can I put a custom field as the link of a button shortcode?
- Looping taxonomy in taxonomy?
- How do I filter a custom post type loop by a field?
- Displaying custom meta box value in a custom post page
- How to initialise WP_Query on the basis of a specific meta_value and continue iterating rest?
- WordPress different custom tag being displayed in on tag list
- Get category name of current post (CPT UI)
- How do I organize posts based on their taxonomy?
- How to make multiple custom taxonomies sit under custom post type slug?
- How do I exclude the current post from the upcoming post query
- Same Custom Post Type Slug and Custom Taxonomy Slug, with hierarchial unique permalink structure
- WordPress CPT & Custom Taxonomy with the SAME Permalink Structure
- Remove slug and custom post type name from URL
- Hot to show custom post type taxonomies on archive page
- How to pull through page title depending on which radio button is selected on the specific page?
- Want to add custom post type for facebook feed
- How to get the post title inside a custom block in a loop? block.js
- How to Bulk Update CPT Taxonomy Values Using CSV Lookup Table
- Separate Posts and Custom Post Type in Custom Taxonomy archive template
- List terms from Custom Taxonomy
- Display Post co-authored in Author Page
- Display custom post on home page based on a metabox selection
- Include a specific post to the query_posts and remove it if it is already in the returned list
- Plugin allowing for artists, events and venues
- How to dynamically build a multiple taxonomy query loop within a post type’s single loop?
- WP_Query search posts by custom post type and custom taxonomy
- WooCommerce: update custom fields after checkout validation failure
- Add attribute / custom attribute to product in woocommerce
- Order WordPress Custom Taxonomy Pages & Pagination Not Working
- Custom Loop through category menu to include sub categories
- Custom Posts Hierarchy? (State/City/Restaurant)
- Automatically populate a hierarchical taxonomy from a custom field
- Display custom field of specific post where post title matches variable
- Conditional to modify query results
- When would you use $_post instead of $post?
- If Meta Checkbox is checked, do something?
- Output 2 items within the Loop
- How do I display the function the_content in this loop?
- Show custom field if it exists, and show different elements if it doesn’t
- conditional statement for custom taxonomy
- How to exclude specific category from the get_the_category(); array
- Way to display “Yesterday”, “Today”
- How can i display post loop in table format?
- how to increase custom post value by one most efficiently?
- spliting posts into two columns
- Must Use Plugin Causing Query Error
- How to output wordpress custom tags separated by comma?
- How to get to a specific position in wp_query?
- Advanced Custom Fields: Post Object – Not returning data [closed]
- How to speed up a wordpress function with multiple loops?
- Facebook “like” open graph meta in header.php
- Custom excerpt function re-factoring
- Custom Post Type Loop within Shortcode
- How to insert content from another Custom Post type into Post?
- How can I show the post thumbnail from the most recent of a certain post type, in widget?
- Using several custom fields as custom post title
- get_the_terms – only top level
- Weird problem happening with custom taxonmy when creating/updating posts
- multiple if statements [closed]