I am trying to create a Custom Premium WordPress theme for a Travel Agency. I am thinking of finishing the theme and submitting it for review.
I want this theme to be really useful so I ended up creating some Custom Post Types (CPT) like :
- Organized Trip : with custom fields(CF) like : Hotel name, Trip Duration,Type of reservation,... .
I honestly agree with those who say for a better code these CPT & CF belong into a Plugin something like **Organized Trip Plugin **.
So should I :
- Make this a separate plugin and pack it into the WordPress theme in a bundle way with TGM Plugin Activation.
- write down these Custom post types into the WordPress theme files and include them in the functions.php - Theme Setup.
Which one do you think is the Best Way to do this?