The “default” query is the one WordPress does itself, based on the URL and such, automatically.
Any query you create manually, via a new WP_Query or by calling query_posts(), will not use the ‘request’ filter.
There is only one “default” query, and you cannot trigger it via any code in the template.
Related Posts:
- What is the most efficient way of querying posts based on visits and date for current day?
- How to implement time filter to show random post 1 month for one category and 3 months for other categories
- Query total number of posts
- How to use the query hook/filter?
- Filter posts in category archive page by year using a dropdown
- Filter post query to only show direct children of category
- Display posts ONLY from the current logged in user and current week/year/month Elementor posts
- Query Posts | Combining multiple form inputs into query arguments to generate one filter result
- Fetch only categorized posts
- Woocommerce set loop_shop_columns to be 3 in the main shop page loop only and 4 otherwise
- When should you use WP_Query vs query_posts() vs get_posts()?
- order by numeric value for meta value
- WP_Comment_Query pagination, delving into the unknown
- Sort posts by category name and title
- WP_Query for WooCommerce Products
- ajax category filter
- Overriding The Loop with filter or hook
- WP Rest API v2 return posts with specific tag
- How to support multiple search terms query within one process?
- Highlighting Sub topic in a post?
- How to get any tag ID
- how to retrieve specific product attribute value in an sql query?
- WordPress custom archive page
- WP_query category__in not working, only pulls from first category
- Retrieve or Query Pages by ID
- What’s the point of the query_vars filter?
- How to do a query on custom taxonomies that is uncategorised?
- Refine/Filter WP_Query Posts with jQuery or Ajax
- Empty tax_query array returns an empty array
- Meta Query for specific months
- How to apply filter inside a single wp_query?
- Different string for specifed post type on posts listing at homepage
- When to add_filter() to Custom Query
- if/else on custom query gives 200 OK when condition not met?
- Order by custom table and multiplication
- Minimize database queries to user tables?
- Query all published post AND attachment with specific mime type
- only delete post within query / for each statement (front end)
- add_filter() depending on search term
- query_vars filter not working even though query string parameter is present
- Get all products which have both product category
- unable to retrive parent page information
- How to detect if query is runned from widget?
- wp_query ‘s’, search filter with pagination is not working
- Bypass “supress_filters” in WP Query
- creat filter with wp_query
- WP Query related posts by tags
- Order by summing multiple values
- Check if loop has any categories?
- How to get list of posts from permalinks?
- Is there a reason why Pages are not publicly_queryable?
- How to alter local query, not main query [duplicate]
- How to filter a query by date in a shortcode?
- Check return value of get_posts
- Exclude some authors from query
- Query only the posts with a post format of “audio”
- pre_get_posts – Trying to get property of non-object warning
- WordPress query posts with multiple post_meta data
- Get a list of posts by specific category
- How to check the array values, what WP_Query has brought to me?
- Is it possible to add an argument to a custom function added to a filter hook?
- How to add custom meta to ‘pre_get_terms’?
- Shortcode for custom query not returning results when attributes are added
- Should I reset $wp_query?
- Update query for wp_posts and wp_postmeta
- Get specific ACF key and value from all posts – no access to DB
- I am officially missing something about transient posts
- WP_Query meta compare must include ALL array values
- Start Query from 2nd Post without offset
- Display upcoming events in the next 30 days by querying posts with timestamp in custom meta
- meta_query weird behaviour, static int will work, but not user data
- pre_user_query vs pre_get_posts
- Adding nofollow to all the post links in get_posts with pre_get_posts or WP_Query
- Meta query orderby meta_value_num sorting by role first
- How to query users by post count no less than 10
- Add to search posts query array with post IDS which will appear first
- WP_Query about meta_key and its array value
- Create global array to compare inside a query
- get term objects and post objects in query
- How to show terms from another taxonomy
- Ignoring ‘a’ when sorting posts
- Issue generating custom filter for cpt admin columns
- wpdb get_results() returns only 2 rows
- Filter posts/pages by user_role array
- WP_Query secondary query failing
- Search Functionality broken by the wp 4.2 update
- Issue attempting a wp_query_posts with tags
- add_query_vars does not work
- Retrieve posts in custom post type and specific taxonomies
- Custom post types loop on a page template
- Parsing External Table Arguments
- Get Child Custom Post Content on Single.php?
- difference between methods of query
- Query posts by meta value and sort by another meta key
- How much does $wpdb->prepare(), then $wpdb->query() VS straight $wpdb->query(), can slow down the load time of whole page
- how to use transient method?
- Pre_get_post on CPT archive page
- Get posts that were most recently tagged
- I need to get all categories from a WP_Query
- How to get posts that have certain meta key value and order based on another meta key’s value