If you look at wp_insert_post()
‘s source code, you can see that it’s locked to using $wpdb->posts…so you’d really need to modify the core to make it work the way you have outlined (or potentially filter it earlier up in the loop, either way, you’re making a mess). That said, having a large number of posts does not put a significant load on your site, since almost everything is done by IDs or by name directly, and rarely, if ever, by filtering from a list of returned results…you’re talking like fractions of a millisecond in gains for an incredibly hacky solution. I strongly recommend that you just stick with what wordpress has by default as the structure is quite efficient as it is.
Related Posts:
- How can I store data from custom fields to custom tables?
- Custom database or Custom Post Types?
- add_meta_box Callback not being called
- Plugin allowing for artists, events and venues
- how do i remove posts from a WP_Query so the pagination is right?
- Is it possible to create Custom Post plug-in?
- Creating a custom post type, adding custom meta fields, preventing all future editability of posts of this type
- auto populate list of questions if user select a category xyz
- Redirect to another page using contact form 7? [closed]
- Custom Post Type Fields
- How to Resize the Custom Post Images?
- Amazon.com intergration with WordPress?
- Sticky option for custom post types without using custom fields or plugins
- How do we update a custom file upload field with the Advanced Custom Field plugin?
- Price comparison table based on Custom Post Type?
- Show related posts based of current ACF field name in a single page post (a loop within loop)
- “After file loaded” action
- Dictionary-style definition list plugin
- How to create repeater field manually, without plugin (ACF Pro)?
- What database state changes happen after a post is manually “updated” with no changes?
- Register PODS Custom Field with WPGraphQL [closed]
- Can i stream data to a custom_post_type?
- WordPress hide post from custom post-type on a single page
- Create multiple posts when a custom post is created
- $wpdb->insert not working inside save_post tag
- WordPress custom posttype meta values doesnot save
- What method should I use for a sidebar widget that reads latest posts?
- Synch Custom Post Types (and Custom Fields, Cats, etc.) Between WordPress Sites
- Insert data in custom table during new post creation
- How can i do custom author list?
- A plugin for software reviews site like this one?
- Links not opening as they should. Custom WP plugin
- Tips for using WordPress as a CMS? [closed]
- How do I show data from gravity forms in my template? [closed]
- How to store ACF custom fields data in a custom table
- Edit Imported advanced Custom Fields from wordpress Dashboard
- How to make a list of companies’ information and display them to user, using custom post types and a custom taxonomy?
- WordPress plugin DB upgrade
- [Plugin: Posts 2 Posts] reciprocal connections
- Using posts and postmeta table to store custom Address Book Plugin data
- Custom options page checkbox will not save, despite working with text
- Upload files programmatically to users
- Ajax with jQuery UI dialog not working
- Plugin not saving values when placed in a folder within /wp-content/plugins
- Security checking in meta_box save is reluctant?
- wordpress reusable content blocks
- Is the wordpress user-model changed in wpmu?
- Creating Tables on Network Activation
- Where to hook my plugin’s action
- Retrieving a Value from a wp-database
- Need help restoring my WordPress blog
- WP plugins for building a database?
- Plugin custom post type – Internal server Error
- How to make a proper custom post type link
- Tracking changes in admin-page so user gets warning when leaving the page
- How can I change the meta_key for a particular piece of information?
- Mq translate plugin custom post type issue
- WordPress metaboxes – textfield suggestion automatically populated
- Char limit on custom blog-post form? [closed]
- Creating a CSV with PHP inside the plugin directory
- What is the best way for showing a grid of customer logos?
- How to use template_include hook with form submission?
- $pages = get_pages(‘child_of=’.$post->ID); Why arguments are concatenated?
- Assign all Post in Wp to a specific Category
- Modify Posts from Custom_Post_Type within the plugin
- Storing The Data Collected by Ninja Forms into Another (custom) Database [closed]
- How can I list custom post type categories of portfolio
- “Allowed memory size” problem [closed]
- WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version [closed]
- Custom Post Type, Custom Columns List
- How to make a Product page without ordering and database
- Having a repeating custom field in admin custom post type, what I’d go better with, for DB’s sake? ACF repeater or query a different post type?
- Best approach to make all tags searchable by the wordpress search function
- need click to clipboard button on my site
- Setting Author on CPT
- How can I display selected content from a seperate database in an Activity style widget?
- Preset custom fields
- Adding category base to url in custom post giving 404?
- $wpdb->delete not working for me
- Problem with checked box on wp car manager plugin
- Performing CRUD operations on front end in wordpress
- How to use WordPress header function and footer function and not load word press database
- How to securely controlling data without keeping it in postmeta?
- Why Custom fields description is not working WordPress Version 5.4.2?
- Problem Advanced Custom Fields PRO
- Custom product page’s style for printing
- Automatically convert standard posts with custom fields to custom post types
- WordPress doesn’t save a post revision when changing CMB2 custom fields
- database – multiple wordpress installations using same database – can they share plugin settings?
- HyperDB failover Delay
- How to Save settings of custom tab product page in admin side in a database?
- Changing the body of mail sent to new user registration
- Custom Info Box at end of posts?
- Creating themes using the one Plugin (Toolkit)
- How to add jquery to my custom post type wp plugin
- WordPress list child pages of custom post type
- Woocommerce custom fields
- WordPress show different custom post type
- Text Wrapping in WPDataTables
- Order custom post type by posts with most likes first