Not sure what the exact query is but these fields can be accessed on the taxonomy template in the same way as they are accessed elsewhere – using get_post_meta()
.
The code in your taxonomy template has a part which loops through all the relevant posts and gives back the info. You can sort the post ID from it and use it in get_post_meta()
Sorry if this is not what you are looking for.
EDIT (Code Added)
if ( have_posts() ) :
while ( have_posts() ) : the_post();
echo $company_name = get_post_meta( get_the_ID(), 'name-of-company', true );
endwhile;
endif;
Related Posts:
- wp_query to find posts by year and month
- Custom Post Type Taxonomies -Posts not showing in Category or Tag pages
- Main query not querying any posts in custom taxonomy template
- How to get_term_meta on single custom post?
- Create a custom taxonomy template that loops through child categories in term order?
- Displaying Posts Using a Custom Query with a Custom Field and a term_id
- Adding a Section for Visitors
- Order by custom field attribute
- Display CPT posts based on specific taxonomy
- WordPress Genesis custom taxonomy archive shows 3 repeats of each post
- WP_Query orderby modified to include custom meta changes
- Am unable to reset a query properly
- How to bulk copy custom fields between custom posts?
- get_attached_media() on author page not working
- Two near-identical custom field types – one works, the other doesn’t . What can cause this?
- Meta Key Value in current-user-only loop
- Retrieve value of a category’s custom field
- Calculate all custom field values in the post loop
- Get next and previous 3 posts in a term in single post page
- wp_query check if integer exists in custom field’s array
- Loop custom taxonomy to get lists of cutom post types?
- Query with no terms uses index.php template instead of archive.php
- Custom loop with multiple taxonomy queries
- search also in taxonomy, tags and custom fields
- Create template for taxonomy results limited by Custom Post Type
- Template for custom post with custom taxonomy
- Custom post type multiple loop by taxonomy term
- List custom taxonomy specific to one custom post type
- Show a Category X’s custom post type on Category X archive page?
- How do I associate a custom post type with another through a taxonomy or storing an ID in a custom field?
- Custom post type content using custom fields without template
- What is the recommended / best way to do this: Event calendar post/type in a block-based theme?
- Display all taxonomy terms, add class if term applies to current post
- Return the latest post from a custom Taxonomy and Post Type
- Displaying CPT and custom taxonomy side by side in Bootstrap 4 component
- Show custom post type relationships by taxonomy
- Group CPT posts by custom taxonomy
- Custom taxonomy and custom post type – wrong permalinks and template
- Store CPT ‘Reviews’ average ratings to a WordPress DB table or to a DB custom table?
- What’s the WP way to load remaining custom posts?
- Dynamic dropdown select values depending on other custom field value
- Display Custom Taxonomy Alphabetically
- Full Custom Post Type List Organised by two Taxonomies
- WordPress Doesn’t Generate Taxonomy Archive
- Hierarchy and access control for Custom Post Types (CPT)
- Custom taxonomy returns 404
- First custom field value (out of several) displayed twice after query
- Adding Page Templates to post but it ignored it
- Template for all categories of a custom post type?
- Migrating a taxonomy’s tags to the native category
- How to display products name in a non-alphabetical order, in a custom field (taxonomy)?
- Listing all term items alphabetically / sorting loop
- WordPress custom taxonomy template not working
- Show fields based on taxonomy selection in editor
- Display related custom taxonomy posts in sidebar
- Permalinks: custom structure for taxonomy – tags?
- How can I get this request to use the Custom Post Type page template instead?
- Only show posts with date of today or in the future (i.e don’t show past posts)?
- Custom Post Type Category Link
- Custom Post type category pages template and loop
- Archive for a Taxonomy of a Custom Post type
- Three Most Recent Posts, One Per Term
- get_the_title() is returning results from previous loop
- Template files for Custom Post Type and Taxonomy
- Custom post type’s extra fields – how to handle?
- Loop through custom posts by taxonomy and display the titles in a list, it is repeating 8 times
- Creating custom post type with custom taxonomy and custom fields programatically
- Control content before and after custom post type loop
- Targeting categories in custom fields
- Custom taxonomies to define versions of a product
- looping though custom post types and only return results in a given taxonomy
- Which file/template is in charge of taxonomies for custom post types?
- How to conditionally add Custom Post Type to Front Page
- Dynamically insert code to custom post type loop
- hide specific div on single.php [closed]
- Custom Taxonomy Search result page
- Having Issue on Ordering CPT by Custom Field In Custom WP Query
- Category Search / Custom Post Type search on my website. Custom Post Types that are “page-like”?
- Many to many to many custom post relationships
- How do you output an unknown number of images in a custom post type with desired markup?
- Get data from PHP to JavaScript to set position of each post on front page
- Display a post from custom post type only if all the selected taxonomies and custom field value matches the record
- Pull in taxonomy field of custom post type in new query
- display posts of custom post type with custom taxonomy
- Custom Post Type not showing in main loop
- My custom taxonomy is only displaying 1 of 3 terms
- assign different templates to custom post type with homepage loop
- Get post content from another section in custom single page
- How to fetch custom post types with its full data on wordpress?
- Assign a template to a custom post type when displayed by the main loop on the home page
- Custom Post Type and Taxonomy Loop Output Is Wrong
- Reusable metabox backend and frontend
- How to populate a Gravity Forms Custom Post Field (dropdown type) with custom taxonomy terms? [closed]
- Get custom term meta problem on single post type
- Custom post type name and assigning custom taxonomy
- Get template part with CPT and Custom Taxonomy conditionals
- get_terms() parent, child and grandchild
- How to create a template to show child terms of a MAIN taxonomy
- How to change single custom post template by custom taxonomy?
- List all Custom Post Type posts excluding certain Taxnomy term