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
- How to Add Custom Fields to a Custom Post Type?
- clients list using wordpress
- Custom Taxonomy Template Post List with Sort Order
- Custom taxonomy query for a custom post type
- How to do a custom bookmarks post type?
- Need some templating advice for templating with custom post types and taxonomies
- Custom Post Type with Nested Taxonomy and Template Files
- Order custom posts by taxonomy?
- Using new WP_Query in shortcode in a custom field causes the main post content to not display
- Taxonomy posts on Archive page
- custom post type archive template per custom taxonomy term
- custom taxonomy – Template not working
- Should unaltered default loop/query return a list of custom posts belonging to a custom taxonomy?
- 404 error PageNavi custom type taxonomy | wordpress
- Create separate template for shared custom taxonomy with shared terms
- Query for posts in 2 taxonomies
- How do I provide a “show all posts” link in a paginated term archive?
- Automatically populate a hierarchical taxonomy from a custom field
- Custom Post Type Loop within Shortcode
- Normal pages as children of my Custom Post Type
- Loop custom taxonomy to get lists of cutom post types?
- Query with no terms uses index.php template instead of archive.php
- Create template for taxonomy results limited by Custom Post Type
- Show a Category X’s custom post type on Category X archive page?
- What is the recommended / best way to do this: Event calendar post/type in a block-based theme?
- Displaying CPT and custom taxonomy side by side in Bootstrap 4 component
- Group CPT posts by custom taxonomy
- Store CPT ‘Reviews’ average ratings to a WordPress DB table or to a DB custom table?
- Display Custom Taxonomy Alphabetically
- First custom field value (out of several) displayed twice after query
- 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
- Display related custom taxonomy posts in sidebar
- How can I get this request to use the Custom Post Type page template instead?
- Custom Post Type Category Link
- Custom Post type category pages template and loop
- Creating custom post type with custom taxonomy and custom fields programatically
- looping though custom post types and only return results in a given taxonomy
- How to conditionally add Custom Post Type to Front Page
- Dynamically insert code to custom post type loop
- Custom Taxonomy Search result 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
- Get post content from another section in custom single page
- How to populate a Gravity Forms Custom Post Field (dropdown type) with custom taxonomy terms? [closed]
- Custom post type name and assigning custom taxonomy
- get_terms() parent, child and grandchild
- Building a Portfolio and need some direction
- Looping through custom taxonomy and display custom post types (Custom Post Type UI)
- Displaying information from custom field on custom post type
- Display Posts Query with IF function
- Get post-meta value of all custom-posts – lowest to highest year-count?
- Order custom posts by taxonomy, then by meta_key
- Custom PT, Taxonomys and wordpress query
- Confusion about how to use Custom Post Types, Custom Taxonomy or Category?
- How can i loop through custom post type according to custom meta field?
- Multiple custom post type queries causing wrong post types to be grabbed in taxonomy + single templates?
- Query for specific taxonomy that executes a particular loop depending on volume of posts?
- add_filter get array data before display in custom post_type
- On click some element i want to use some template
- ACF – Retrieve custom taxonomy from a relationship field
- How to sort WP_Query by a custom text field (written as a date dd/mm/yyyy)
- Post template with breadcrumb needs to show page navigated from
- wp_insert_post deleting previous post custom meta
- Accessing download link from the loop with WP Download Manager Pro
- Combine multiple separate lists into one
- List all posts associated under custom taxonomy
- Query posts by multiple custom fields
- Display title of all custom posts from same taxonomy term on a custom post template
- get_permalink() of page the enclosing page not posts
- Create Inclusions and exclusions
- I want to create an archive and single page for a custom taxonomy for a custom post type
- WordPress query in which condition uses custom field
- WordPress loop add heading before first of type
- Custom post types not displaying per category
- Error in WP Query. If variable is empty it is displaying previous post value
- Custom Post Type tag taxonomy “Page Not Found”
- Best way to use Category & Custom Fields?
- predefined custom field on registration page
- Show Custom Post Type taxonomy term that matches custom field
- Load different template for CPT (in loop) in my plugin?
- Storing/querying custom date data
- Display Custom Taxonomy of custom post type
- Custom post type and custom taxonomy archive inaccessible
- Loop through multiple custom taxonomy terms and display posts for a custom post type
- loop through custom post-type with two meta_keys
- Most appropriate way to display CPT’s by children terms of custom taxonomies while retaining desired permalink structure?
- How to create custom page templates with default page layout framework?
- I want to show image from custom field image on my custom page template
- Create a WordPress loop that shows posts from a custom post type + filters the posts by taxonomies while hiding empty taxonomies
- Add Custom Taxonomy Terms as CSS Classes for CPT Posts in an Elementor Loop Item Template