Help needed about custom taxonomies (Minimum Pro)

Community Forums Forums Design Tips and Tricks Help needed about custom taxonomies (Minimum Pro)

This topic is: resolved

This topic contains 3 replies, has 3 voices, and was last updated by  Kellylise 8 months, 1 week ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #99864

    Turturelo
    Participant
    Post count: 4

    Hi All,

    I try to create by myself a recipe related blog using the Minimum pro theme.

    I have used the following guide kindly published by Sridhar Katakam here:

    http://sridharkatakam.com/adding-portfolio-type-taxonomy-minimum-pro/

    Following the guide I have managed to add the Custom Post Type and also the custom taxonomy.

    My problem is that I want to add two more custom taxonomies.

    I understand that I must reuse parts of the code from the guide in order to be able to add them, but I am not sure how I must do that.

    I have spent a few days trying to find additional info but with no luck, since all the guides I have managed to find only show the code for one, assuming that it is obvious which part of the code you can reuse, but I have no programming skills and this turns into mission impossible for me. :)

    Also I believe that the Custom Post type archive template can be used for all the three custom taxonomies that I need with the help of a redirect function as described here by Bill Erickson here:

    http://www.billerickson.net/code/use-same-template-for-taxonomy-and-cpt-archive/

    I am just not sure how to use it.

    Since I am not sure if I have managed to describe my problem in a proper manner I will provide this additional details.

    I have managed to rename the custom post type “Portfolio” to “Recipes” using information found on our wonderful forum.

    Using the guide I have mentioned above I have managed to create one custom taxonomy.

    I will use it as “Cuisine Type”

    For this type I will add

    1. Indian
    2. Italian … etc

    I need to add two more taxonomies called “Dish Type”, where I will add
    1. Appetizers
    2. Salads
    3. Desserts … etc

    The second is “Healthy Recipes”,
    1. Gluten free
    2. Only vegan … etc.

    I need these three custom taxonomies in order to be able to filter the portfolio (in my case recipes) based on them.

    I want to thank you in advance for your precious time and hope for your kind cooperation.

    I wish you all a wonderful weekend! :)

    #99865

    Lauren @ OnceCoupled
    Member
    Post count: 643

    From what I’m reading, I’m not sure this is entirely the easiest way to organize your content. You’ll have to get a second opinion on that, or show it to me when you’re done, so I can understand. :)

    To create two additional taxonomies, you’ll want to duplicate the very first part of code on Sridhar’s page (under “Create Portfolio Type custom taxonomy”). You don’t need to duplicate the entire block, just add two more taxonomy registrations, changing the information as needed.

    More on registering taxonomies: http://codex.wordpress.org/Taxonomies#Registering_a_taxonomy


    I do custom WordPress work! http://oncecoupled.com
    Contact me directly: lauren@oncecoupled.com

    #100328

    Turturelo
    Participant
    Post count: 4

    Hi Lauren,

    I want to thank you very, very much for your kind help! :)

    As far as the content organization is concerned, probably this really isn’t the easiest way to do this, but as I have mentioned I am not very experienced. Thank you for the tip.

    Once again thank you for your help and support!

    All the best to you! :)

    #100340

    Kellylise
    Participant
    Post count: 511

    Have you tried cpt-onomies?

    https://wordpress.org/plugins/cpt-onomies/

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

The topic ‘Help needed about custom taxonomies (Minimum Pro)’ is closed to new replies.