I believe you could use NOT IN
for the operator
to achieve this along with switching some of the relation
s from OR
s to AND
s.
array (
'taxonomy' => 'plant_category',
'field' => 'name',
'terms' => 'Popular (home)',
'operator' => 'NOT IN',
),
Related Posts:
- Using a custom WP_Query with get_template_part loop
- WP_Query orderby post__in remains ineffective in the Loop [closed]
- WP_QUERY Get posts by category and similar name (Like)
- Using get_posts vs. WP_Query
- Is it possible to orderby multiple meta_keys when using meta_value_num?
- Is it possible to wrap Geo Location search around WP_Query?
- How to Access Global $multipage or Global $numpages outside the loop?
- What is an efficient way to query based on post_meta?
- Merging a complex query with post_rewind and splitting posts into two columns
- Pagination wont work with search results template [duplicate]
- Pagination Not working on Home Page with 2 Query
- WP_Query in a shortcode
- ‘posts_where’ filter not applying ‘WP_Query’ in `wp_ajax`
- Get all posts without tags
- Sort by meta key on archive page
- What are the differences between “Latest Posts” and “Static Page”?
- Retrieve or Query Pages by ID
- Searching through different categories on different pages code is not working
- how to get the id for a post from within a post and return post meta for it
- How to make this WP_Query run faster on a WordPress website?
- Order taxonomy terms in alphabetical order
- is_search was called incorrectly
- How do I sort posts with multiple pages
- Complex date range with WP_Query and BETWEEN
- Attachment changing page’s permalink – $post not resetting?
- List custom taxonomy terms sharing posts with a term from a second custom taxonomy
- Make (post) query a clickable link
- How to set pagination to work with ‘/page/’?
- How to do meta_query for attachments?
- Most commented last 24h, week, month, year and all time – posts_where
- How can I filter by slug depending on language selection
- How to duplicate 5 posts out of WP_Query results?
- Ajax WP_Query reutrns no results on author.php
- WP_query sorting can’t sort danish letters (æ, ø, å)
- Dynamic User Id
- WP_query wp_posts_counts returns only count of admin and not users
- get_post_meta slowing down my page load (in a plugin)
- Custom taxonomy.php not working
- “tax_query” parameter is ignored when “p” parameter is set in WP_Query
- Conditional sorting with variable using WP Query
- How can i share WP_Query between multiple functions?
- Advanced WP_Query with meta_query, orderby?
- sort and display posts by custom field (wp-query and the loop))
- I need help using pre_get_comments to limit comments in the comments admin screen
- WP_query only displays one of my custom post type entries
- Issues with search after added meta_query
- How to search for meta_query LIKE or tax_query LIKE and grab these posts on search results?
- How to create dynamic value in WP_Query meta_query
- Woocommerce: order posts by meta key
- Modify query posts
- WP_Query with multiple orderby NOT working with ASC and DESC, what’s wrong?
- query post by author gender
- Display all attached image of every post of custom post type and link to original post
- How do I add an item to the WP admin menu?
- Multiple meta query from array
- Filter subpages in while loop from WP Query object
- How to search by slug and old slug in single API
- Reciving Error 404 blog/page/2/
- Unrelated post showing in WP_Query
- Custom meta_query order for Elementor based on post meta key [closed]
- Categories In English version showing not canonical URL, instead shows query search result
- Multiple meta_query not returning rows
- show related articles in single.php template
- What code to use in an array to call the current sub-category?
- Query against multiple locations within single custom post type post
- Order by meta date with a thousanth of a second defaults to post order
- How to debug none working search query?
- Order by Date Custom Field
- WP_Query showing all posts, except from category X, unless it’s also in Y
- Show posts by category – category ID not working
- WP_Query to Retrieve Posts from WooCommerce Products that are Only in Catalog
- Show All with Isotope
- Search Filter With Custom Taxonomy and Custom Fields : How do I handle it via plugin?
- query_posts based on a meta_key
- active link for most recent post on vertical tabs
- wp_get_attachment_image not to get the post_thumbnaill
- Query with two posttypes and two different meta_keys
- option select form always deleting the sql query
- WP_Query to show post from a category OR custom field – Not 100% answered
- Page displaying 1st post from a range of custom tax?
- Pagination in custom query in a category page
- WordPress WP_Query Array Custom search via taxonomies
- Problem with WordPress 4.0 and $wp_query
- Add category and user name to recently updated post list
- Pagination in WP query with transient API
- How to do a loop inside a loop?
- Pagination not working in secondary query
- WP Paginate not working properly
- How to get child pages and add unique class only to active page?
- Main loop querying current template’s info only in custom category archive pages, not my posts
- How can I display sticky posts at first in wp_query?
- Prevent WordPress loop from displaying similar post titles
- wp_query order by rand is repeating posts
- Limit paginated result set to a maximum number of posts
- Custom query with custom filtering returning incorrect results
- Best performance for use Custom Field in WP
- How to get post taxonomy url and name in wp_query
- Modify WordPress Search
- $wp_query->found_posts; returns zero
- Exclude page ID AND current page from wp_query of a Parent page