Why you are querying for meta query if your length is taxonomy? Replace meta_query
with tax_query
in your query and it should start working.
Related Posts:
- Adding Category/Tag/Taxonomy Support to Images/Media
- How to use taxonomies on attachments with the new Media Library?
- How to add images to taxonomies?
- search query within custom taxonomy term, post title and meta field
- Help With issue on pre_get_posts filter in taxonomy
- Custom Taxonomy Images with Advanced Custom Fields
- Advanced custom fields – taxonomy terms images [closed]
- how to create a proper query for getting a list of users with taxonomy related meta key
- Correct Way To Show Custom Taxonomy for Image Attachments on Template File
- Display an image instead of tag name?
- $wpdb query a post type within a specific taxonomy term while ordering posts by custom meta value?
- How to display custom taxonomy images on index.php?
- How to implement custom search with input fields?
- Taxonomies image
- How do I modify the “Insert Media” lightbox in the admin to only show media items from a category?
- How to show the a custom taxonomy term on single post metadata
- Extend & Search Native WordPress Image Galleries With Tags and Taxonomies?
- Passing form inputs into multi-taxonomy query
- WP REST API – get custom taxonomies based on terms & filter
- Website loading slowly – Advanced Custom Fields images
- Replace taxonomy term with an image in a custom loop
- Featured Images for Tags?
- How can I get Taxonomy Images to work with ‘orderby’ argument?
- Query all images with certain tag in media library using visual portfolio plugin
- WordPress search form and search result through ACF field in custom taxonomy
- How to show one post content in another post content which has same terms?
- Resize $term attachment using url
- Add image to taxonomy and output to homepage
- Get taxonomy image for Toolset custom taxonomy through Toolset Views Shortcode
- Hook to filter based on form value and insert term
- Complex Taxonomy scheme
- Custom taxonomy with custom meta value is not sorting correctly (query returns the same value for orderby regardless of sort column click)
- Hierarchical taxonomy UI
- 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
- How do I detach images from posts?
- Get only the first term by taxonomy
- Hook to process a new taxonomy tag before it is created?
- Removing taxonomy base using WP rewrite
- Multiple users – only allow them to manage their own terms for custom taxonomy when logged in
- 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?
- Improving WP_Query performance for multiple taxonomies
- Create Child Taxonomies
- Can’t access ‘Store uploads in this folder’
- How to add custom field to custom taxonomy in 4.4
- Operations with custom fields values in a loop
- How to insert an array of terms using wp_insert_term?
- How to get custom post type taxonomy
- remove sanitize_title() for register_taxonomy()
- get_term and get_term_by return null or false, even though term exists
- Large image size stuck on old value, even for new images
- quey posts from different categories with taxonomy
- Get Image from Media Library with the Title
- 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
- Widget dropdown always displays first option
- Post and featured image have the same name, why is the attachment (image) is showing and not the post?
- Editing image dimension – to edit the main image file
- Custom Taxonomy Tag Cloud?
- Make child taxonomy categories use a set template
- 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
- one post per term taxonomy
- 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
- Running a function only once when a taxonomy term is changed
- making an index from custom taxonomies and tags of posts (not hierarchical taxonomy)
- User uploads image as “Featured Image” but WordPress resizes it?
- Wp_insert_term doesn’t work from separate file with custom taxonomy
- How to create filter’s for custom taxonomy page
- Query by multiple custom taxonomies
- get the custom taxonomy name?
- 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)
- WordPress Media URLs?
- 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 randomise a custom taxonomy tag cloud
- query posts returns 10 records
- Media Library is not loading on grid view in admin panel
- How to add/enqueue Custom CSS for a custom taxonomy page?
- How To Convert External Image URLs To Own Website’s Uploaded Images Automatically?
- Hide empty categories on widget