I've been working on creating themes in Wordpress and found the use of post types very interesting ... But it has certain situations that make it unfeasible and it gets a face of gambiarra ...
Is there any other way to register new tables in mysql without using the main Wordpress tables?
Edit: I am trying to make a register of a gallery of images and emails .... But without using the table wp_posts ... Ideally I would have a table wp_gallery and another wp_emails