Using Plug In named Types for Custom post types

  • gzembower

    #4090

    I am looking for some help with using the Plug In named Types with the Graphene Theme. I have created a custom post type, 3 custom taxonomies and 3 custom test fields to see if I could create a custom post type. The data I entered into the custom fields does not show up in the post when I preview it. Am I missing something? Any help or guidance to a tutorial using this plug in would be appreciated.

    Thanks

    Admin

    Syahir Hakim

    #27171

    Any custom fields you created and entered the value won’t show up automatically. You will have to manually add the necessary PHP codes to display those values in the theme. I would suggest doing this using a child theme and the many action hooks available in the theme.

    gzembower

    #27172

    If I understand you correctly I will be unable to use the GUI provided by the Types plugin to create custom post types and taxonomies in this theme? I will have to do some PHP coding. I am still a newbie and not real sure how to use action hooks and code PHP for custom post type funtionality. Maybe I won’t use it unless you can point me to a very useful tutorial.

    Admin

    Syahir Hakim

    #27173
    Quote:
    If I understand you correctly I will be unable to use the GUI provided by the Types plugin to create custom post types and taxonomies in this theme?

    That’s not what I meant. You can still create custom post types and taxonomies with the plugin, and they will show up in the Admin area and you’ll be able to add new posts and terms to them.

    However, what won’t happen is that none of the custom fields you entered will be displayed anywhere in the theme automatically. That you will have to either write the PHP codes yourself, or use the Views plugin that is intended to supplement the Types plugin, but it is not free.

    Posts that belong to custom post types will be displayed using the normal post template. This would be the same regardless of what theme you’re using, since theme developers can’t possibly know what sort of custom fields you’ll be adding.

    gzembower

    #27174

    Got it. Thanks for your help. I appreciate your work. Incidentally I have a friend of mine who is a dentist and I will be building his website with your theme. Thanks again.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!