Are you using Advanced Custom Fields plugin? If you are, try this if it works:
foreach ($terms as $term) {
// $cognome_nome will be "P Elena" or "P Andrea" in your case
$cognome_nome = get_field('cognome_nome', $term->taxonomy.'_'.$term->term_id);
}
Related Posts:
- How to use taxonomies on attachments with the new Media Library?
- Hierarchical taxonomy UI
- How do I get the top-level terms in a custom taxonomy?
- Filtering custom taxonomies
- Allowing specific users to only add posts using certain custom taxomy terms
- Edit tags page for hierarchical taxonomy doesn’t show taxonomies at all depths
- I want to load post content by categories using Ajax
- Get only the first term by taxonomy
- Hook to process a new taxonomy tag before it is created?
- Removing taxonomy base using WP rewrite
- Is it possible to get a Previous/Next Taxonomy term archive URL?
- Which template name to use for taxonomies but not their terms?
- WP_insert_term how to insert multiple values as taxonomny term?
- How to include parent terms in hierarchical taxonomy URLs?
- How do I display a tag cloud with both post tags AND a custom taxonomy?
- Custom taxonomy term as class?
- How to edit/remove a term that’s in multiple taxonomies?
- Fix : Custom Taxonomy Duplicating in each call
- Create Admin Only Taxonomies?
- Text and image in taxonomy page
- Custom taxonomies
- Improving WP_Query performance for multiple taxonomies
- Create Child Taxonomies
- Sort custom taxonomy terms order by both count and name
- How to list all record from one custom taxonomy start with only one letter i.e A
- How to Query Database for posts with certain Taxonomy Term
- Taxonomies in URL
- Check if term is in a taxonomy?
- List taxonomies in a dropdown in theme’s option panel
- Create multiple rewrite endpoints for custom taxonomy archive
- Make a taxonomy column sortable in the admin?
- Display only first level children of my custom taxonomy categories
- How to show only terms by id or slug on edit-tags.php (custom taxonomy manage page) for a custom taxonomy
- Display the description of taxonomy terms
- Woocommerce: How to change the add to cart text in a certain category? [closed]
- How to display custom taxonomy images on index.php?
- Meta query for a custom taxonomy on attachment
- get_term and get_term_by return null or false, even though term exists
- How do I modify the “Insert Media” lightbox in the admin to only show media items from a category?
- quey posts from different categories with taxonomy
- Get number of post who belongs in two taxonomies!
- Checkbox onclick filtering on the same page
- Get parent and children taxonomy in different dropbox
- Remove categories from post edit page, but keep in sidebar?
- How to set taxonomy hierarchical level to 2?
- Custom Taxonomy Not Working When added to WordPress Search
- Custom taxonomy terms in the admin site is not saving for widget
- Problems with taxonomy quick edit box
- Widget dropdown always displays first option
- Adding custom taxonomy in my existing category URL
- Passing form inputs into multi-taxonomy query
- Custom Taxonomy Tag Cloud?
- single_cat_title equivalent for custom taxonomy?
- WP Multisite: Are custom taxonomies specific to each site only?
- Make child taxonomy categories use a set template
- How to customize taxonomy archive template files for subterms?
- Copy/clone/associate Custom field to Custom Taxonomy
- Query posts using custom taxonomy and selected terms
- Foreach loop duplicating a taxonomy thumbnail image
- Load a certain functions file for a certain taxonomy
- Output all terms in a custom taxonomy and add a “active” class only to the ones attached to the current post
- one post per term taxonomy
- Custom permalink accept any params
- Terms change id after importing
- How do I get the labels from a post
- Hide custom taxonomy from easy admin
- Add file attachments/meta to a custom Taxonomy
- Displaying user selected custom tags/taxonomies on the front-end
- how to use tax_query to apply both terms or one if one is empty
- Get current page term title to use in WP_Query
- Show related posts on single.php, grouped by taxonomy terms, with Advanced Custom Field post object selected
- Running a function only once when a taxonomy term is changed
- making an index from custom taxonomies and tags of posts (not hierarchical taxonomy)
- Displaying my custom taxonomies in a using the_term_list()
- Using Custom Taxonomies to organise products – struggling to call a correct list
- Use wp_list_categories to list parent categories from actual term
- is there a way of getting term children that only shows those from two taxonomies
- Wp_insert_term doesn’t work from separate file with custom taxonomy
- How to create filter’s for custom taxonomy page
- How to create a non removable taxonomy term?
- How to show category list in WordPress
- Query by multiple custom taxonomies
- get the custom taxonomy name?
- transfer two existing taxonomy terms into one custom metabox
- How to add all existing Custom Taxonomy to Admin Menu Creations Interface?
- Catchable fatal error: Object of class WP_Error
- Templates files for custom post type with custom tags
- Permalink structure not working with Custom Taxonomy (URL like ./taxonomy/category/postname)
- Creating a Taxonomy Page [duplicate]
- Extra fields on categories that is available via the WP-API?
- Tax Query not working
- Pagination with custom query (not using posts)
- What’s the proper WordPress URL for the template of my custom taxonomy?
- WordPress show posts from children terms of a taxonomy term
- how to import custom taxonomy (& terms)
- How to randomise a custom taxonomy tag cloud
- How to create a page that lists custom taxonomies with links?
- query posts returns 10 records
- How to add/enqueue Custom CSS for a custom taxonomy page?
- Hide empty categories on widget