WordPress always queries a default set of posts when you view any sort of archive. So if you run your own query as described you’ll end up with 3 database queries instead of 1.
You should not develop your template the way you describe. The standard WordPress templates should all use the default query. You’ll be coming back as the 400th person to ask why pagination isn’t working properly if you do it this way, among other potential issues. If you want to style the first post differently there are plenty of ways to do that without querying it separately, from CSS techniques to logic in the template. If you have something specific you’re trying to accomplish, I suggest posting a new question with those details.
Related Posts:
- WP_Query for WooCommerce Products
- How can I display recent posts from a particular category in my header?
- Using AJAX to return search form results
- Pagination is not working using WP_Query
- Two queries on the same page with pagination
- Array Chunks and Inserting Varying HTML in WP_Query
- Why is this coming back as null? Thats wrong. There is one post
- How to display future posts – modified query still yields 404
- WP_Query arguments to fetch custom post type posts which are in certain category?
- Which method is faster to get a single post?
- Import wp users via one click demo option
- How can I use $wp_query->tax_query as tax_query parameter for a new WP_Query instatiation?
- Adding column to wp_posts table or join wp_posts table with another table
- Two loops on archive page
- Check if loop has any categories?
- How to make search for posts using get method?
- Multiple filter conditions for WP_Query
- Reset WordPress Post Query to default
- How to Create a Random List of Child Pages
- Wp_query with 2 meta keys and array of meta values
- Problem with get_page_by_path() using with WP_Query
- WP_QUERY wrong ammount of posts
- WP_Query to get post on frontpage
- How to create Page templates for showing Blog posts in different layouts?
- Writing less unnecessary code with WordPress
- How to separate two columns from one content on a page template?
- Using Ajax and WP_Query to load more posts on category page fails
- WooCommerce | AJAX | Product Pagination | Help me implement Ajax Pagination
- Custom WordPress post query for displaying time-released content on website
- How to display author meta and count numbers for each user in comment.php?
- Displaying Pages in Nav Sub-Menu with Specific Taxonomy Terms?
- Global page ID variable empty error
- Get posts by similar names and categories
- Second WP_Query loop shows data from main query
- active link for most recent post on vertical tabs
- Custom Theme Building & Permalinks
- WP_Query issues with argument posts_per_page
- Get author meta data with no published posts in author.php?
- How to display posts from a specific term first then another posts from another terms using tax_query
- Why ignore_sticky_posts argument is in sticky post query?
- Posts with at least 3 tags of a list of tags
- Get post count of current loop when using multiple queries on one page
- Use WP_Query with a custom SQL query
- How to use filter hook posts_join for querying taxonomy terms in posts_where?
- Looping through tabular data
- Using next/previous_posts_link with customised search
- How to create/modfiy WP_Query to search in post title OR custom field?
- How to detect custom query inside `posts_where` hook?
- Is temporarily overwriting $wp_query a bad idea?
- How to output different posts per page?
- Modifying the Search Results
- WP_Query times out
- ACF – Get lowest & highest value from field
- Offset Page Loops and Pagination
- How to find a post id using the post_excerpt?
- wp_query add arguments using array_push if variable met
- reducing the amount of wp_query calls
- WP_Query filter and order by meta ordering by wrong joined table
- Querying A Post That Includes Two Taxonomies Using JSON Rest API
- WP_Query condition affects posts_per_page count
- Order by title without taking into account ‘the’
- Set global $wp_query/$post variable for dynamic page generation
- slow WP_Query for non-admin user
- Changing sort order for presentation by Jetpack infinite scroll
- Meta Queries – should nesting work after WP 4.1?
- WP_Query Attachment adds additional attachment count and need to link attachment to post url
- Does the WP_Query ‘private’ argument for post status only apply to privately published content?
- Query most popular terms by taxonomy over 2 week period
- Is there a better way to pull in custom content without querying posts?
- WordPress | Date not always appear [duplicate]
- WordPress posts for multiple years
- WP User Query with Custom Fields and Search Results
- Event with multiple dates, display events chronologically
- How to exclude Sticky from Recent Post?
- Display if author page is author page of current user
- WP_Query order by not working properly due to category I believe
- Modify WP_Query using pre_get_posts but only for frontend query?
- When listing child pages run out of memory
- Function to retrieve IDs of posts, cache results, and improve wp_query
- parse_tax_query causing Navigation Menu To Disappear
- Search.php – return number of results but cannot loop through
- Creating ‘posts page’ loop based on the page itself
- How to get pages of parent (non-recursive)?
- Combine query in WP_User_Query()
- How to get_comments() ordered by date and parent?
- WPQuery loop not giving expected output
- WP Query filters active on wrong query
- Not able to fetch woocommerce variation sales products for particular category products
- WordPress tax_query ignoring relation OR
- pagination functions are not working
- Gather same custom field values in one value in a select tag with wp_query
- Continue loop after $queryObject
- Order Posts By Youtube Views
- WP Query with sticky posts and tax_query
- Declare inline background image in functions.php
- Looking for a way to exclude frontpage and nav menu from query filter
- Using Query In Post Type Archives
- Query posts by custom fields
- WP Query Obj: Set value to be unequal | Hide media by admin
- How to get all post_id and meta_value using meta_key in wp_postmeta table