Posts stores in the posts table regardless of its custom types. There is no way to store custom posts in the separate tables. However, you can JOIN any tables using post_id field. But that will be your custom SQL queries. You can built that queries with filters for main Query, for instance. Check out here: https://codex.wordpress.org/Custom_Queries
↧