I found the issue, I shouldn’t have been trying to filter on post_content, but rather ‘s’
e.g.
Array
(
[showposts] => 4
[paged] => 1
[s] => post
[post_content] => tree
[category__and] => Array
(
[0] => 6
[1] => 15
[2] => 28
)
)
Related Posts:
- How to Get All Posts with any post status?
- How can i get count from query post
- query_post by title?
- How to set posts per page using WP_Query()
- query_posts() in function makes global $wp_query out of sync?
- Problem with ‘post__not_in’
- Sort posts alphabetically by custom field value, insert divider between different letters
- Is it better practice to use query_posts, WP_Query, or get_posts to create various custom loops within a Page?
- Custom Post Type “Event”: chronological list of recurring events
- Total Count of Posts NOT in Selected Categories?
- Order posts using a custom array
- Tricky WP Query
- WordPress pagination showing same posts on each page
- Search breaks when querying main loop for category
- Using ajax with paging and a custom sub-query
- Custom loops, sticky posts, and pagination nightmare
- odd behaviours from template tags
- Custom query looking at multiple custom fields and properly sorting
- Pre-existing arguments when using queries
- How to refine WP-Query with further criteria
- Run second query on page based on author of the first query
- Query Posts (post meta)
- posts_per_page no limit
- Using OR conditions in meta_query for query_posts argument
- Get posts by menu ID
- Query posts: how to exclude results if post is in multiple categories
- query_posts ->using meta_compare / where meta value is smaller or greater or equals
- Display Custom Post Type Fields
- WP 5.8 “Query Loop” block: where to place custom query?
- Meta Query with date and time on the same Day before given time
- Pagination on archive.php page
- order post my meta value m/d/y format with year as included value
- _wp_page_template to dynamically use template
- How to get the parent’s taxonomy?
- Schedule Sticky Posts
- how to display active, upcoming and past event with featured listing with pagination
- Problem with single-page for my custom post
- How to make the list of post and load on same page with sub-pages [closed]
- How to get 4 Posts after the 5 most recent ones
- How do you query wordpress posts using a math formula between multiple meta field values?
- How would I get 1 latest post from a query for 5 posts?
- Custom query shows custom post types in trash
- Exclude posts with empty post_content in wp_query
- Custom category search box for WordPress
- How do I make archives.php for one category only?
- making random query button using $_GET
- Is it possible to query_posts using post__in and then Loop through them in the ordered they were queried?
- Query with a meta value inside a given range
- Query/list all terms and their custom post count
- is there a way to show the the post title after the image?
- Authors List page – How to include only those with wp_user_level as Author
- Blog post per page setting conflicting with custom WP_Query?
- Polylang non-default language ignores tags in WP_Query
- How to display an other custom post type in a different custom post type’s archive?
- Show Blogroll of another WordPress site
- How to display Related Posts based on number of taxonomy terms matched
- Why this code causes infinite loop?
- Each post is showing twice in my custom query…?
- query_posts() – problem with “s” parameter
- Exclude All Posts Which Do Not Have A Tag Assigned
- order posts by `meta_key`, Does not display posts that does not have `meta_key`
- How to get posts published on the latest date?
- Page title in post query
- Question about querying posts
- How to list most popular post
- How can I query for all children posts regardless of parent
- INSERT in table row fatal error
- complex get_posts() query to select child pages
- Pagination not working on custom query on a page
- WordPress query reverse order
- How to reverse post navigation at bottom of post
- WP-API: get posts in multiple categories
- Echo the number of posts being displayed
- How to query for a page, get data, then query for child pages of that page
- Create a Loop with Posts Ordered by Most Recent Comments
- Optimising WP_Query with ACF Fields
- Filter products on category AND tag
- Show posts from two specific category in WP_Query
- How to create loop of posts except post ID defined via ACF field
- How do I stop the same post showing multiple times in a archive?
- Specifying image size used in template the_content
- allow user to edit posts made by others users based on the user role
- query_posts() doesn’t seem to be called in my page
- Fetching $_POST from Page Template into functions.php
- Optimising specific Query with ACF meta objects
- Order posts by ACF checkbox
- query_posts with sorting on a custom datestamp
- Post per page not working
- Show previous month’s posts
- Query Posts by date range with fixed beginning and end
- Collect posts from last 48 hours
- How to go to tag archives using a form
- WordPress loop problem: Multiple loops, index.php and is_paged causing duplicate posts on next page
- Custom query_posts() parameter
- How to modify this function to exclude also the post belonging to a specific category?
- How to exclude certain portfolios from a loop
- Sort posts with multiple meta_keys
- Create “archives by year and week” by category template
- query_posts different amount of posts per page [duplicate]
- Assign a tag to custom post type using a query