You have to use your object like this :
while ( $query->have_posts() ) : $query->the_post();
Related Posts:
- Using wp_query is it possible to orderby taxonomy?
- display posts with same taxonomy term
- Adding session variable and/or cookie based on user-selected input
- Advanced Tax Query
- Taxonomy.php how to show post only in current taxonomy with wp_query?
- Query custom taxonomy for category including children
- How to use tax_query other than by slug or id or solve custom taxonomy tags conflicts with pre-existing tags?
- Advanced AND tax_query in sidebar with 2 taxonomies
- Using wp_query is it possible to orderby taxonomy?
- How to add images to taxonomies?
- custom post type taxonomy “tag” archive : no post found
- Get taxonomy names by post id
- Custom Taxonomy not working with posts_per_page in new WP_query (pagination problem)
- Modify Term Update Redirection
- How to get first post in a category of a custom taxonomy
- Custom hierarchal taxonomy loses interface hierarchy when selecting parent & children
- Formating the_terms() function output
- Archive template for taxonomy terms
- Custom taxonomy on users with UI
- Looping Through Custom Tax Terms and Displaying All Posts For Each
- Taxonomy Relationships
- Combine multiple custom user taxonomy in single url
- Add custom taxonomy to default category taxonomy?
- Help with a query not working with custom taxonomy
- Filter and list posts of a custom taxonomy
- Taxonomy , subtaxonomy,child taxonomy of a product woocommerce
- Get terms ordered by post date
- Display Post co-authored in Author Page
- How to prevent posts duplicating when viewing a custom taxonomy term
- How to display custom taxonomy in multiple columns?
- get_the_terms() to show all custom taxonomies
- Removing the “Popular Terms” area from the Taxonomy Edit Screen in the Admin Area
- Sorting taxonomy columns by meta value numeric
- Programatically added attribute, set to ‘show on product page’ automatically. Woocommerce [closed]
- Get Taxonmy Term ID For Current Post
- Is it possible to create exclusive custom taxonomy?
- ACF vs Taxonomies
- Reverse traversing taxonomy based on term_id
- Get Current Custom Taxonomy ID by Post ID
- Changing stylesheet depending on custom taxonomy terms
- Taxonomy with_front causes all
- cannot get multiple loops using tax_query
- I used the Tax-meta-class by bainternet but i still can’t get it to display any of the results.
- Display all posts for taxonomy term across multiple custom post types
- Rewrite Rule Working for all but one of the taxonomies created
- Taxonomies on custom taxonomies
- How to join result of different taxonomies?
- How to add Post Format Taxonomy Archive page in the menu?
- How to Rewrite Taxonomy URL to Include the Post Type as the Second Segment of the URL?
- How to get all taxonomies which can be added in menu?
- WordPress Tag or Custom Taxonomy Return All Posts if has that Word in Post Title
- woocommerce custom product category template
- Replace taxonomy permalinks
- Custom Taxonomy Term Archive Page Template that Filters 2 or more Taxonomies
- Multi-select field for Taxonomy can’t save the value
- Create custom taxonomy and Display in metabox dropdown
- How to create a custom taxonomy using a shortcode?
- Override Taxonomy Template
- Set tax_query conditionally with new WP_Query
- Using custom taxonomies in a query
- Why can’t I use an array of term slugs in WP_Query?
- wp_query not resetting, last post hanging
- Trying to add taxonomy to get_categories() but it’s not working. How to fix this?
- Filter through custom taxonomy with an array of taxonomy IDs
- Dropdown taxonomy lists in admin menu
- Taxonomy Overview Page?
- Order taxonomy terms wordpress
- Unable to get the Parent Custom Taxonomy Terms
- How to define %category% for custom taxonomies?
- Unsetting post_tag taxonomy breaks term description for other taxonomies
- Taxonomies on Pages with Custom Formatting
- Why do my quick edits for custom taxonomies not show on the post frontend?
- Prioritise Pages over Taxonomy Term Root Archive, but not Taxonomy Term Child Archives
- Tracking the name of a custom taxonomy
- How do I get the correct URL?
- Custom Taxonomies Archive Page 404
- How to replace custom post type with custom taxonmy in permalinks
- Cloning product not copying custom taxonomies
- WP_Query for custom taxonomies showing posts from non-specified terms?
- How To Create Dynamic Permalink To Custom Taxonomy List of Current Posts?
- Sort Taxonomy List by Custom Values
- Display taxonomy term slugs
- How to display custom taxonomy
- Run next query based on first query’s term
- Get the original menu item name string instead of the label
- Taxonomy term breadcrumb; how?
- add custom fields in custom taxonomy meta box in wordpress-3.5.2
- How to permanently delete a taxonomy
- Custom Taxonomy + JQuery Tabs
- How to query posts that are not related to any term of a taxonomy?
- Alternative for is_taxonomy() to workaround theme’s default sidebar
- Get custom taxonomy term url on archive page
- Custom Taxonomy Template Variables Available?
- Display woocommerce product_cat child terms with thumbnails
- tax_query not working properly with get_posts
- Adding new terms to custom taxonomy
- Group custom taxonomies based on tags contained in their posts
- Taxonomies starting with a hyphen (minus) to assign B.C. dates to a post
- Loop posts without any taxonomy
- Three different queries on same page