Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wordpress: Creating a custom table for custom post type

I have a custom post type defined in my Wordpress application, the data of which is stored inside wp_postmeta table in MySQL by default. However, since my custom post type has 16 form fields, it's not feasible to store each entry into wp_postmeta. I'm using the ACF plugin in Wordpress to create my custom post type.

So, is there a way to create a custom table in PHPMyAdmin for MySQL to store data coming from my custom post type?

like image 688
Manas Chaturvedi Avatar asked Apr 22 '26 03:04

Manas Chaturvedi


1 Answers

The ACF plugin is great, but the PODS Framework for Wordpress allows you to register custom post types and store the data in a custom table, all via the Wordpress Admin UI.

like image 190
Chris Avatar answered Apr 25 '26 15:04

Chris



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!