I don’t think you can do this. Maybe you could use a whole new database, but it seems unlikely you could add a new table for managing a custom post type. For one thing, a custom post type is stored in the wp_posts table, but some of the data for it gets stored in the wp_postmeta table (especially any post meta fields). And if you have a taxonomy with it, that uses 3 different tables. And if your plugin needs to store any options those would be in another table.
I wouldn’t worry about polluting the wp tables, it is how they are made to work. Part of its power is the extendability that is built in and easy to use.
You could maybe provide a way to remove your post type and all of its posts if you wanted to be able to completely remove it.
Related Posts:
- Custom Post Type or Custom Tables
- wpdb custom post_type problem
- WP_Query orderby and tax_query
- How select query is generated in a Custom Post Type?
- CPT or Custom Table for Repository of Serial Numbers
- Use Tags to Query Associated Multiple Posts and Get The Average Of Custom Field Values
- Query by post title
- Get post with multiple meta keys and value
- Get posts for custom post type with WP_Query
- Custom Post Types, or completely custom?
- How to check if a WP_Query has data
- Number of pages – multiple (custom) post types
- WP_List_Table Inside Metabox Not Working on Submit
- Enforcing canonical URLs with multiple custom post types
- WP_Query -> sort results by relevance (= most tags / taxonomy terms in common)
- Retrieving 3 latest post from each of 5 different custom post types
- Get latest 4 post on a custom post filtered by category
- how to group custom post type posts by custom taxonomy terms
- Wp-query causing problems with the_content();
- wp_query and comment_parent – select only posts with top level comments
- Comparing timestamps in meta query doesn’t work
- Include both default and Custom Post Type in query modified inside pre_get_posts
- List all custom post type posts from a given category?
- Ordering Custom Post Types with WP_Query
- How can I add a column in the wp_list_table of the admin area?
- Display children and grandchildren of a custom post type
- Sort by two dates. Default entry date and custom field if present
- Querying CPT with Two Taxonomies
- Custom Query to display posts with custom field
- Get taxonomy description based on variable
- wp_query custom post type by taxonomy & standard post by taxonomy
- Query Custom Post Types & category_name?
- WP_Query is printing out only one post when posts_per_page is set to multiple
- WP Query to displaying date and posts for that date?
- Get all Posts If has same custom field values in Posts
- Custom Post Types not showing, custom WP_Query
- WP_Query | ‘post_type’ doesn’t work
- Filter by custom taxonomy slug on a custom post type
- Sorting multiple custom post types without a meta key/value pair by sort order
- Pagination : How to remove /page/x/ after a ‘POST’ action on a form returning to page 1
- Can I create a loop with multiple post types and specify different $args for each post type?
- Display custom post type from dynamic custom field
- wp_query check if integer exists in custom field’s array
- Previous/Next Link by Meta Value in CPT
- orderby rand is not working for a custom post types
- WordPress loop: Show only a Custom Post Type Taxononmy TERM
- How do you paginate a query grouped by month?
- Add update or delete database records using custom post type
- Query Custom Post Type Taxonomy term with multiple parameters
- Importing Data from a Non-WordPress database, into WP
- pagination not working for category.php (custom post types in categories)
- Query based on custom fields start and end date
- Add ‘last’ class to second post in featured post loop
- Show data from one Custom Post Type in another Custom Post Type
- Why is my WP Query not returning first result’s post meta?
- Different Limit number of post on different archive page
- DIsplaying URL of custom field in last post of certain taxonomy && post type
- WP_Query Custom Post Type if Category ID Equals
- Custom post types and ‘new WP_Query’
- Using page slug in wp_query
- Trouble with pagination
- Select2 AJAX and WP Query Returns ALL and does not filter
- WP_Query orderby not work with meta_key
- Having Issue on Ordering CPT by Custom Field In Custom WP Query
- Returning a custom content types with meta values
- List categories, subcategories and posts from custom taxonomy and custom post type
- Sort results without WP_QUERY?
- How to query Posts from a custom post type which contains a custom taxonomy?
- WordPress as a frontend website for iOS app [closed]
- Searching post types
- How to retrive Custom Post Type Meta Fields in Custom WP_Query
- wp_query not returning my custom post
- filter the_content, custom post type, and wp_query
- Loop for custom-post-type comparing taxonomy terms for “related” posts?
- Custom Form / Search with Custom Post Type Data
- How to customize custom post type’s list table?
- Get next and prev item from custom WP_Query and Custom Post Type
- After inserting new post with wp_insert_post() the post is not visble to WP_Query, but the same WP_Query works for post inserted from wp-admin panel
- Query to show post current day
- Using ACF values in nested WP queries for CPT with date values in the past
- WP_Query: how to search tags in addition to a custom post type?
- Pagination Not Working When Used With WP_Query() `offset` Property
- How to select meta key in custom database query
- Help understand and create a loop with WP_query
- WP_Query for custom taxonomies showing posts from non-specified terms?
- Make pagination work as a carousel (custom query)
- WP_Query with all posts in one custom post type and only posts in another custom post type with a specific category
- Search result based on URL
- New WP_Query not isolating custom post types on front-page template
- How to load more custom type posts through AJAX & LOAD MORE POSTS button
- Pagination always adding “Next” link when results come from Custom Post Type WP_query
- Pagination not working on homepage
- How to query custom post then display sections by meta value
- Using tax_query to get single post per category
- Show Posts in Vertical Tabs with Scrollbar
- How to manage wordpress knowledge base/wiki/posts collections
- Is it possible to make is_category() recursive?
- Get X posts with the same terms as the current post (custom post type and custom taxonomy)
- Quering array of post types & pagination. Articles are repeating sometimes on different pages
- WP Query – Can’t get posts with specific taxonomy