Hello -twice :-)
Your plugin is a very convenient way to create custom posts. It could be nice to export them as code to put into the functions.php file in the theme.
Hello -twice :-)
Your plugin is a very convenient way to create custom posts. It could be nice to export them as code to put into the functions.php file in the theme.
Hi there =)
One of the best features of "CPT-onomies" is that it can simply be used to create custom post types if that's all you need. You don't HAVE to "register your custom post type as a CPT-onomy" to use the plugin.
With that said, there's really no need to have code in your theme's functions.php file to create custom post types as long as you're using the "CPT-onomies" plugin.
But if you still want the code for your functions.php file, the WordPress function register post type() will do the trick.
If you do decide to create custom post types in your theme's functions.php file, these custom post types can still be registered as CPT-onomies. They will show up in the "Other Custom Post Types" section and you can "edit" them to define the CPT-onomy settings.
OK... Thanks for the answer.
You must log in to post.