The post ID must be a number, it can’t an alphanumeric string. The simplest way to force the use of the high numbers for ID’s is to use phpMyAdmin, or some similar database management system, and edit the wp_posts table.
With phpMyAdmin:
- Open phpMyAdmin, open wp_posts table, and open Operations tab.
- Find AUTO_INCREMENT field, and change it to the number you want to use for your posts.
- Click Go to save the new value.
When the next post is created, it will use this value and will go from there. This doesn’t affect previously created posts, and it is not a good idea to mess with them, there are many places where you need to make changes.
Check this out to see the max value allowed for BIGINT field (used for ID), but don’t use the value close to the limit.
Related Posts:
- How to publish a post with empty title and empty content?
- How to add a “publish” link to the quick actions
- how “manage_posts_custom_column” action hook relate to “manage_${post_type}_columns” filter hook?
- the_posts filter been called multiple time
- How can i do something after head like adding a hook for after head but before post
- Modify WP_Post before processing
- Prevent posts with certain post_meta to be edited
- Update post meta within save_post action
- Exists filter or action that change Add New Post link?
- the wp_post_update isn’t working all the time
- Grab meta data before post is saved
- Is it possible to completely replace a post with an action/filter?
- Filter question list on substring of metavalue
- How to check if post meta key exists or not in wordpress database
- Apply the_title() filter in post & page title, but not in menu title
- Update post counts (published, draft, unattached) in admin interface
- add action only on post publish – not update
- Removing any and all inline styles from the_content()
- Action hook ‘wp’ firing twice… why?
- Update all posts automatically when using post_meta
- How to batch update post content with custom post meta value
- how to display post content without post image?
- Setting post meta data to random value during post status transition / on publish
- Exclude category on blog list page
- How to remove_filter that filters iframes in posts? [duplicate]
- Filter posts by author and category simultaneously
- Get the post_id of a new post
- Custom function for “Submit for Review” hook
- Does WP get all post_meta on POST page?
- Sanitizing `wp_editor();` Values for Database, Edit, and Display
- How can I hook into creating a new post and execute wp_die(), before the post is inserted into the database?
- If specific user role then sticky post
- Filter list by a unique meta value dilemma
- What Is meta_id In wp_postmeta?
- Only display posts after current date
- How to run a function when post is edited or updated using publish post action?
- Filter Custom Post Type by Category with Ajax
- Ajax posts filter by date, comments, top views, top likes
- How to add Tags Filter in wordpress admin dashboard
- how to remove dash (-) post status from post title on posts listing page wordpress
- Admin Posts Table Column Fitlering is not working for Custom Post Type
- Get latest posts from WordPress site without header, menu and sidebar
- How can I sort posts by the date and a custom meta field?
- Get Meta Key Value While Saving Post
- What is the filter or hook to add admin controls to posts on the front end?
- How to hide html tags on revision comparison pages?
- Ajax post filters not working
- Force the “Choose from the most used tags” meta box section to always be expanded
- Display Meta Values in Custom Filter – Admin Custom Posts
- Meta value does not save for scheduled posts
- How to filter my search in post if contains a word in title, content or excerpt?
- More then one menu items are assigned with “current-menu-item” class
- Update post_content everytime a custom post is opened in backend
- Posts and Attachments with “Published” status in Search
- How to compare two posts including their meta fields on a scalable base?
- Is it possible to paste a link without tags and make it directly a link in a post?
- Copy post to separate database with “add_action(….)”
- Trying to alter the post_content through the_post
- How to automate featured posts number? [duplicate]
- How to check if single.php has already called the_post_thumbnail function
- Get post content with all filters applied, knowing post id
- How to save meta checkbox WordPress
- How to calculate the average of a post meta value(Numeric) of a specific author
- query post limits
- wpColorPicker – problem with implementation to post meta
- Filtering posts on Post Administration Page by Week Number instead of by Month
- Change the default blog post post attribute template name from “default template” to something else
- Is it possible to add a shortcode below post title?
- Automatically set post_parent value
- Updating permalink structure using ‘post_link’ filter results in 404 error for posts
- Custom permalink for each post
- Is there a way getting post fields using `transition_post_status`
- The loop starting at a certain ID
- Simple Custom Metabox Not Saving
- wp_list_categories() Exclude All Categories Except One
- Show only posts with titles/permalinks that do not contain certain words
- How do I display main query posts in random order using add_filter
- Featured Images most often doesnt appear
- Is there a way to know when a page has been updated and do some action only once?
- How to bulk Update URLs to new values?
- SQL DELETE multiple post_meta on single and multi-sites
- Filter posts by month (dropdown)
- Run a function when a custom post is update?
- How to add a custom class attribute into code wrapper? [duplicate]
- Filtering private Posts
- How to retrieve all meta data directly from the $post object? Such as $post->related_topics?
- How to add a block to a category page?
- Add view to admin menu to filter for specific criteria ( If post is child of specific Parent )
- Add id attribute to h1 element of wordpress post
- How can i take all ids from untrash_post action?
- Best Way to detect unique posts in wp rest api
- post_name is not stored until post is published… where should I store my slug until it goes live then?
- Show posts between two Custom Fields date
- Ordering posts alphabetically by meta keys and title
- How to modify specific parts of a post content in WordPress
- Where should get_post_meta() go to get $post->ID get_post_meta() is empty and $post->ID & get_the_id() are working
- Action while post is being published
- If meta_key exists then don’t select this post?
- Do anything on post_status change [duplicate]
- Site ‘Categories’: save an admin global setting with post metadata [closed]