Like Jacob Peattie has said above, the query is actually only made once. The extra processing really is negligible, as would be the load time of the page. So don’t worry about it.
Related Posts:
- Multiple WP_Query loops with Pagination
- WordPress get_posts function, 1300 lines long
- What is the most efficient way of querying posts based on visits and date for current day?
- Initiating WP_Query() with no args and adding them later through the query() method
- Pagination custom query
- WP_Query and name__in
- Searching user meta using WP_User_Query
- WP Query with offset breaks wp_pagenavi or any pagination
- Show list of authors with latest post NOT older than a month
- Unable to combine “search value” and “tax_query” using WP_Query
- How to extend tag and category “Related Posts” query to custom post_type if the first 2 terms have no posts
- WP_Query or get_posts?
- How to display the number of articles published per user
- How do you query wordpress posts using a math formula between multiple meta field values?
- Ordering Posts Type A by Custom Fields of related Post Type B
- Query Posts depends on custom field inside repeater field using acf
- Interupting the loop with extra divs to display data, and how to get it to work responsively
- WP_Query, tax_query and term_meta: How to?
- Custom category search box for WordPress
- Sub-loop / nested loops Best Practices
- How to echo data after a WP_Query
- Query all published post AND attachment with specific mime type
- WP_Query returns random number of posts
- How do I get the title of a category in a custom loop?
- Load More Posts Button – AJAX
- Is it a good idea to improve meta query performance by adding tax query?
- WP_Query: Group events by year, sorted DESC; then by date for each year group, sorted ASC
- How to display user order by role
- How to list custom fields as headers and list all pages sharing that custom field under it?
- How to Union two different conditions in one WP_Query
- Display filtered results into custom page
- WooCommerce – get product sub categories
- Order by empty custom field
- Transient not behaving as expected
- how can I override The Events Calendar query modifications?
- WP_Query post_parent parameter always returns children of current page
- WP_Delete_user link creation
- How to exclude post formats from wordpress recent posts in a tabs widget [closed]
- Query about wp_query
- wp_query sort with meta_value_num is not working
- How to pass orderby params to $wpdb->prepare()?
- how update data through ajax and jquery
- Query posts only without featured image
- WP_Query arguments relation shows AND instead of OR
- Combine results of multiple WP_Query to resemble single WP_Query
- How to use WP_Query() on single.php?
- Using WP_Query() in Magento shows error
- Get All posts by Tag_Id not working, query seems to contain extra term_taxonomy_id
- Is this meta query problematic?
- Utilising an existing page while using the “s” query parameter
- posts archive page – closing WP_Query loop correctly [closed]
- Yoast primary category query modification
- AJAX Breaking Offset Argument In WP Query
- Excluding posts with certain value of meta_key keeping posts without that meta_key
- Pagination in html table is not working
- Filter out a meta key in the Search results page with two CPT
- Function using get_posts() with tax_query not working when called from functions.php
- Why does WP_Query have methods that return public properties of the same name
- Include one page/post into query which is already returning posts
- Search for pages with permalink
- Don’t repeat posts from children in parent taxonomy query
- WP_query paged pagination with excluded category still counts it
- meta_query with array as value with multiple arrays
- Why doesn’t my WP Meta Query return any results?
- Help with if statement inside while loop
- wp-query problem with author
- How to make the ‘request’ filter work?
- Filter for each loop when WP_Query has no posts to show
- Custom WP Query order function possible?
- How sort products by calculate value? ( custom post meta, price, option)
- wc_get_products() return empty object
- Pagination unique to a widget
- Ascending numerical sorting with non-numerical characters last
- WP_Query not returning custom post type
- How do I use $wp_query->current_post with get_template_part? I’m trying to add post classes (first/last/even/odd) to custom loops
- Why pagination is not working with tax_query param?
- Finding post ID dynamically on click
- ACF Post Object meta-query by title not ID
- From admin edit user page query either the user_nicename or username field value of the user profile being edited or viewed
- Is the ‘parse_query’ filter still valid to change filtered content on admin list view?
- I removed the “wp_rm_logs” table and am constantly getting this error
- How to set selected attribute on option after filter query?
- custom search form, posts_per_page value being ignored
- Fetching $_POST from Page Template into functions.php
- Include post_status check within $wpdb query
- Inline Ajax call after term is appended with a @ or # etc. displayed in div
- Loop the posts between two dates selected using jquery datepicker
- Passing conditional arrays to WP_Query() [closed]
- Query custom post type by date field only working when two posts match the query
- Why isn’t my Meta_Query running?
- How to specify a certain amount of images queried, not all?
- wordpress sorting using array merge by price in ascending order but price with 0 must be show last
- Carousel Loop only duplicating
- Taxonomy related query not working
- Remove divs and spans from post content
- How to show featured post first, then separate loop for other posts
- error with $query->have_posts()
- Multiple Orderby is not working right
- Get all user with both meta_value
- WP_Query filter Posts by timestamp event (range start and end) and by month (next 12 month)