Forums

CPT-onomies: Using Custom Post Types as Taxonomies
[resolved] Export custom posts code (4 posts)

  1. Li-An
    Member
    Posted 3 months ago #

    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.

    http://wordpress.org/extend/plugins/cpt-onomies/

  2. Rachel Carden
    Member
    Posted 3 months ago #

    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.

  3. Rachel Carden
    Member
    Posted 3 months ago #

    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.

  4. Li-An
    Member
    Posted 3 months ago #

    OK... Thanks for the answer.

Reply

You must log in to post.

About this Plugin

About this Topic