WP_Query only returns WP_Post objects for the results. To get the taxonomy terms for each post you need to use get_the_terms( $post, 'recipe_categories' ); for each post.
This is because WP_Post represents each row of wp_posts, which does not include taxonomy information. The links between posts and terms is in the wp_term_relationships table.
Related Posts:
- How to group posts and get a mixed posts and groups view?
- ACF – Retrieve custom taxonomy from a relationship field
- Display Custom Field or Custom Taxonomy in front page /post/product
- Getting custom taxonomy from custom post type
- Taxonomy: Why ‘with_front’ => false DOES NOT WORK?
- How to pass URL parameters for advanced taxonomy queries with multiple terms for one custom taxonomy
- Assign posts to taxonomy terms instead of the taxonomy terms to posts?
- Exclude from search all custom posts which are NOT in a taxonomy term
- Custom SQL Query on Custom Post Type. Order by Taxonomy?
- WordPress Search documentation: how to improve search query using taxonomy terms, custom meta fields?
- Retrieve a specific field from taxonomy term through advanced custom fields [closed]
- get terms that have post with custom post type between 2 values
- Custom taxonomy template not working with simple loop. Multiple CPT using the same taxonomy
- Show ACF field from custom taxonomy and display on the single template
- Building an Advanced Search (text, tags, category, custom fields) – Getting the wrong SQL query
- Linking three taxonomies with ACF
- Paginated Taxonomy Term Archive including one post per term
- Get Custom Field Values by Another Custom Field in WordPress
- How to retrieve category NAME instead of ID in a function with a taxonomy custom field?
- Create 3 Level Relations with ACF and WordPress
- $wpdb: Counting posts corresponding to 3 terms in 3 different taxonomies
- get_posts of Custom Post Type AND Custom Taxonomy
- Retrieve value of a category’s custom field
- Get posts by querying taxonomy and certain terms of the taxonomy?
- Custom post type templating problem
- Custom Post Type Taxonomy Filters
- Custom Taxonomy terms aren’t getting referenced or saved in Quick Edit or Bulk Edit, only on Single product page?
- WordPress loop: Show only a Custom Post Type Taxononmy TERM
- How to conditionally redirect to the post from a taxonomy page?
- Query Custom Post Type Taxonomy term with multiple parameters
- Lists custom taxonomy terms that has specific custom field value assigned to the term (not post)
- How to list tags from custom post type attachments?
- How to get_term_meta on single custom post?
- How to define the template for custom posts?
- I have custom post type with custom taxonomy. But not found the taxonomy page..
- Get A Custom Field From A Custom Taxonomy Of A Custom Post Type [closed]
- How to List Custom Post Type Titles Based on Theirs Taxonomy Terms Inside a Nested Loop
- Custom Post type Query by Taxonomy
- Single.php for Custom Post Type > Taxonomy > Term
- How to display posttypes and taxonomy in standard posts, not in a separate label?
- Custom front-end form for adding post – Category problem
- Create loop from selected terms in ACF taxonomy field
- Sort custom posts by date and then by taxonomy
- If ACF Post Object post has custom taxonomy term…
- Some posts not displaying by taxonomy term
- Taxonomy shows up twice on Custom Post Type
- Permalink URL connection between two custom types
- How to display custom post type pagination buttons when processing AJAX request
- Display custom tax in “while” loop
- Showing taxonomies with terms that are attached to custom post
- Getting all custom post taxonomies and exhibiting only part of them
- Error get_posts with Custom Taxonomy and OR relation
- Best way to have one product in both rental and sale parent category
- Get list of CPT posts in *current* post’s taxonomy term
- How to query posts by meta keys AND under specific category?
- tax_query showing no results
- Linking custom taxonomies and posts
- Storing/querying custom date data
- How to query the content of a specific custom post type?
- Advanced Custom Fields: query posts filtered by multiple field values
- ACF Relationship: Group posts by parent category term, then child [closed]
- Custom taxonomy meta fields
- Custom Sort Order for Custom Post Type Taxonomy
- ACF Pro simple Business Directory – Requesting assistance with created Templates and associated Functions.php Coding
- Custom fields disappearing when a custom post type is assigned
- Remove Custom Taxonomy Metabox from Custom Post Type Screen
- Get terms by taxonomy AND post_type
- Permalink Structure for Multiple Post Type Archives by Taxonomy
- Get Custom Taxonomy ID within loop
- Custom Post Types not showing on Custom Taxonomy archive page
- Remove Trash / Delete option for Custom Post Type / Taxonomy
- How to filter custom post types by custom category taxonomy
- Highlight menu item when on a custom post type?
- How to setup a Custom Taxonomy Term template
- Admin to user notices – best practices?
- How to select one major category (or custom taxonomy) for a custom post type?
- Custom taxonomy & post slug permalink
- Custom Taxonomy List links being re-written
- front end radio custom taxonomy with custom post type
- Child and grandchild taxonomy listings – 404
- Limit taxonomy results to a single cpt
- Bulk 301 redirect for custom post type
- Associate Taxonomies Across Post Types
- ‘category__and’ for custom taxonomy?
- Custom post query by taxonomy
- Relationship between two taxonomies and a custom post type [closed]
- Sharing a custom taxonomy with Multiple custom post types
- next_post_link on custom taxonomy
- Show Two custom Post type and their posts on category page
- Group custom posts by custom taxonomy names
- Change Permalink Structure for Tag.php template
- How to query custom post types posts filtered by multiple custom taxonomies through a form selection
- Get post from custom post type order by two taxonomies
- How to convert custom post type based list to a dropdown list?
- Custom Taxonomy Archives on Custom Post type Page [duplicate]
- How can I make the slug of the taxonomy also the slug of the custom post
- Listing posts under primary and secondary taxonomies
- How to list custom taxonomies in the back end
- How do I display the grand child items of a taxonomy term?
- Is it better to use WordPress Custom Post Types or Taxonomies?