Ha… While this makes a lot of sense, WP is not to good with arbitrary conditions like this and nothing like is implemented in WP_Query
currently.
However since your issue is really chronological rather than requiring dealing with IDs, you probably can make use of Date Parameters to restrict results to be older than time of oldest post you fetched instead of explicit offset by count.
Related Posts:
- Accessing post’s meta data based on user’s click of a post
- Redirect to another page using contact form 7? [closed]
- Trending Tags based on post views
- Can we completely remove the WordPress Sitemaps (WordPress 5.5)?
- How To Ignore a Filter On Applying Filter the Content In a Function
- Thumb rating for wordpress – top user
- How to extract images of post and pages excluding header and logo image in wordpress?
- Is it possible to filter the wp_footer() scripts, read the content, and insert them inline?
- post expire after x days
- How to get all events from ‘All in one Events calender’ plugin in JSON format?
- How use %like% in sql statement wordpress
- How can i list random post from multiple category?
- Preg Match All doesn’t Allow echo first character for WordPress Taxonomy Tags
- How to call WordPress function other files
- External RSS feed to WordPress Portfolio
- pagination on data fetched using SQL query
- How to delete all trashed item in one-go
- How to Loop Through all Posts and Count Attachments using Get Media Attachments
- Allowing users to Sign-up > Login > Post articles that need approval
- Return multiple values in a shortcode attribute
- Creating an admin meta box to save post as pending
- Get data from wp_posts of mysql in to variables of wordpress-php script
- Delete data from custom table when deleting a post
- WordPress Stats Plugin: Display Post Views [closed]
- Pagination not working
- WP Insert Post If user refreshes override new post
- Searching a tab/space delimited text file based upon form criteria and returning a ‘record’ into a word press results page
- Woo-commerce Update price as a Bulk from My offline software export
- how to display recent post by category on home page
- WordPress is redirecting me to homepage
- WordPress hide post from custom post-type on a single page
- adding dynamic/multiple slug values in ‘option_none_value’
- How to get a specific string from a url
- How can I see $post object in frontend from functions.php?
- Prefix WordPress Taxonomy Tags With Hashtag Symbol Like Twitter
- Failed to load resource: the server responded with a status of 500 () post.php
- How to echo a PHP Code After the Content
- Displaying friend’s posts only
- Ger posts from similar tags and categories
- WordPress ultra slow if I click on posts?
- Enforce conditions only for draft posts using WyPiekacz, ignore pending and published posts
- Insert data in custom table during new post creation
- PHP $_session is not work in wordpress
- Redirect a specific User role not admins automatically to view the post that they just updated
- Accessing Correct Database to Create REST API Endpoint
- How to build an API as a plugin
- category_name not working (not showing up in sql query debug)
- Update Multiple Post Meta for the Same Post In One call?
- WordPress Hook that will run when media file deleted
- WordPress wp-json API – Custom Post Type returns 403
- Custom Post Type causes Page Not Found
- How can I make the “Preview Post” button save and preview in the same window?
- WP_Query with the “offset” argument
- Cannot run the code after I activate the plugin
- Displaying admin notice dynamically
- Unable to activate wordpress importer after installing it
- Get total number of comment of the posts written by an author
- How to replace or display the special characters from JSON API plugin [closed]
- Output HTML only on individual post view
- WordPress Ajax Callback
- Can’t get order_by meta_value_num to work properly
- printf – problem to understand code
- Portfolio + Blog: multisite or plugin?
- add_query_arg not working
- How to enable qTranslate languages tabs in custom plugin page
- Error with Image Slide plug-in/ s3slider in WP
- Changing “elapsed time” to “time remaining” on MP3-jPlayer audio player with CSS or PHP changes
- Customizing NEXTGEN Gallery To link images to pages
- Ability to automatically redirect a URL
- Passing Page ID used in Meta Box Creation to JavaScript
- How to get a list of bundled products using wp_query in woocommerce
- A server-side hook failed when committing plugin code to SVN
- Api external with wordpress
- File Uploader – Upload without adding to Media Library
- Trying to include files in plugin isn’t working
- implement custom roles in custom plugin
- Adding custom post category to categories widget
- How can we get this dynamically as this folder may not be by the same name always → wp-admin
- Cant create table on plugin activation
- How to ignore fields if empty?
- Why is my shortcode not working?
- implement checkbox or toggle switch in plugin code
- How to add specific posts to specific pages in WordPress?
- Admin login substantially slower on production server
- redirect to a custom page
- Multiple Meta key in search
- How to change text in a page by utilizing a custom user id?
- How can I insert a record into a custom table from my custom form in my custom admin page?
- How to save information related to post in database?
- Metabox Data not saving
- Second foreach loop breaking (Posts2Posts)
- Xml output not places where i want
- Including a PHP file via a function that is part of a plugin?
- Twitter List Tweets and Delicious Links as Posts
- How to make only selected posts appear on a selected wordpress page
- Integrate Razorpay quick payments plugin with contact form7 plugin
- Option value not getting updated until page refresh in WordPress
- Fatal error: Uncaught Error: Call to a member function fetch_array() on bool
- Use inline callable for hooks and filters
- Error in using ‘admin_enqueue_scripts’ action through a class