Custom Post Type or custom db table
-
I’m building a membership plugin for an existing wordpress site and I’m undecided as to whether I use custom post type (cpt) or a custom db table.
The online membership form will have many fields and the site WILL NOT have membership exclusive pages but the company will manage the members via WP admin and will have the facility to create new members via the backend.
If I use cpt I won’t be using the title and content fields so the entry in the wp_posts table will be blank for the title and content fields however the rest of the info submitted via the form will be stored as post meta data. This will mean several records per member as opposed to one record if I use a custom db table.
Which route should I take? I’ve researched the subject but am still at a loss.
- The topic ‘Custom Post Type or custom db table’ is closed to new replies.