The order doesn’t matter. That query will get 7 posts from the “events” category, skipping over the 5 most recent (since the default order is by date).
Related Posts:
- Different ‘posts_per_page’ setting for first, and rest of the paginated pages?
- How to adjust found_posts so that it accounts for offset and pagination
- WP Query with offset breaks wp_pagenavi or any pagination
- Exclude first 5 posts of specific categories in the main loop
- Custom query, works, but I get a “Notice: Undefined offset: 0…”
- Offset Page Loops and Pagination
- How to use offset in WP_Query
- How can I fix: “Notice: Undefined offset: 0”?
- WP_Query, pre_get_posts and offset
- WP_Query with offset and ‘orderby’ => ‘rand’, offset not working
- How do I rewrite this loop as a new WP_Query style-loop?
- WP_Query – Adding “offset” posts to the end of the loop
- Stomping WP_Query in author archive to facilitate pagination with custom queries
- Apply query arguments after the nth post
- AJAX Breaking Offset Argument In WP Query
- Page navigation doesn’t seem to work when I add offset?
- WP_Query offset is returning post from prevois loop
- Offset WP_Query by negative 1
- setting offset to category number in archive page
- Using something else instead of using 9 wp_query
- Featured Image as Background with Offset
- WordPress WP_Query offset parameter not working with search parameter
- Ignoring initial articles (like ‘a’, ‘an’ or ‘the’) when sorting queries?
- Wp_redirect and sending variables
- Sanitation needed for WP_Query or get_posts calls?
- how does $wpdb differ to WP_Query?
- WP_Query – filter or directly?
- WP_Query with checkbox meta_query
- How can I save an array from a random post sequence for later use?
- Does WordPress generate an automatic page for post formats?
- Why is WP-Query spelled like it is?
- How to add custom query filters in WP_User_Query
- Limit search results to exact match
- WP_Query hit max joins… How else can I build a search function that uses custom fields?
- Pagination not working Search posts
- Does using a custom query_var create a security hole?
- How to speed up wp_query, took more 5s to run against 100k posts
- How to sort posts in admin by titles with dd.mm.yyyy format?
- Why I can’t get old posts instead of recent with WP_Query?
- How get posts from a subcategory of a category by name?
- Date query not inclusive despite parameter being true
- Change default ordering of taxonomy terms – pre_get_terms
- Exclude old events from WP_Query with date saved in a `meta_key`
- WP_Query arguments to fetch custom post type posts which are in certain category?
- WP_Query loop within WP_Query loop
- current_post not working – give me -1 for every post
- Search Posts with Custom Fields as query
- Use query->set or make new query?
- How to fetch only media that was already attached to a post/page?
- (Solved) WP_Query ($ args) -> How to sort letters and numbers within the same array
- WP_Query won’t retrieve raw HTML?
- Remove a specific category ID from related post
- Order posts by taxonomy count
- Any number in meta key (wp query)
- Custom Metabox data slow query on Admin init
- WordPress Comments sort by custom meta key
- Order by summing multiple values
- Understanding the orderby in WP_Query?
- Need Help For WPQuery
- query_vars overriding WP_Query args
- Posts published last 10 minutes
- How should I approach changing the template & $query as part of a shortcode’s execution?
- Prevent author bio page from showing in search results
- Changing the default wp_search_stopwords
- WP_Query array key / value pairs?
- Get posts from multiple tax terms
- Tax Query only returns for the first of several terms
- Appending to existing WP_Query’s meta_query if exists
- Tax query is not working!
- How To Keep Search Title the same on paged Results
- Does WP_Query ‘responds’ badly to empty arguments?
- Get next/prev image/attachment in time with date query
- Reordering content using a meta value
- How to add a recent post function to a text widget I created for practice?
- Adding query parameter to archive page returns 404
- Optimising WP_Query with ACF Fields
- WP_Query no result if keyword contains number
- WP_QUERY order posts by two combined meta_value dates
- Order by value of Custom Field using url string
- update_post_meta performance in a loop woocommerce
- How to set meta_query if get_post_meta returns nested array for that key? [duplicate]
- query_posts() doesn’t seem to be called in my page
- WP_Query returns empty if meta_query has more than 7 values
- query.php – multiple is_category functions
- How to get several fields from wp_query?
- Overwriting auto-appended NOT IN query in WP_Query
- WP Query posts__in not working with array
- query_posts with sorting on a custom datestamp
- Conditionals in WP_Query
- Why WP_Query in functions.php is not working when get_posts works?
- Next / previous posts link doesn’t show up with Posts 2 Posts
- Query Posts by date range with fixed beginning and end
- query by meta value then date and not empty meta value
- Issue with sorting by post date and custom post type
- Is it possible to use WP Query to orderby custom meta value and custom taxonomy?
- Display all custom meta field values from the database using ACF Repeater
- Can’t get LIKE to work with wp_query [closed]
- How to retrieve _embed (etc) fields in get_posts custom query?
- Using ‘meta_query’ with the ‘pre_get_posts()’ hook disables searching for post titles
- How to save the results of a query as a php file for an autocomplete search bar