How to register new things in Wordpress without the use of post type?

0

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

    
asked by anonymous 08.06.2018 / 15:19

1 answer

0

Generally this type of registration is done in pages or posts, using as an example the gallery of images you mentioned, if it appears on the homepage of the site, you can create it in the content editor of the page, using custom fields, shortcodes or plugins. But if it is a very specific thing, you can create tables in the bank, consult etc. using the wpdb

    
09.06.2018 / 19:28