• Resolved fmiya

    (@zaki029)


    Hello.
    I have a specific taxonomy case.
    I want to change the post hierarchy.

    How can I solve this problem?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author John Havlik

    (@mtekk)

    Breadcrumb NavXT allows you to select any of the ‘public’ taxonomies that are registered for a post type (other than the page post type) for the post hierarchy within the Breadcrumb NavXT settings page in the WordPress admin. Settings for post types are under the “Post Types” tab. Look for the “Hierarchy” setting for the post type in question, and you should see a listing of all of the ‘public’ taxonomies registered for that post type. Select the taxonomy you wish to use, and then press the “Save Changes” button at the bottom of the screen. Breadcrumb NavXT should then use the updated hierarchy for breadcrumb trails generated for the posts of the post type in question.

    Thread Starter fmiya

    (@zaki029)

    Thanks for the answer.
    I’m using my own templates such as taxonomy.php.
    I want to change the hierarchy only for certain taxonomies.
    Is there any code to achieve this?

    Plugin Author John Havlik

    (@mtekk)

    Can you elaborate on what you’re trying to do (provide more detail and/or an example)? Within taxonomies themselves, there isn’t really a concept of having a selectable hierarchy; either terms have parent terms or they don’t. So, I’m unsure of what you are trying to do and hope that further detail and/or an example helps.

    Thread Starter fmiya

    (@zaki029)

    For one post type, a regular category and an additional taxonomy are set.
    For a specific category of posts, an additional taxonomy is set.

    1. Normally, we want to use the post hierarchy set to “category”.
    2. For a specific category, we want to set the post hierarchy to the taxonomy we created

    Normal articles
    └ category [Hierarchy-based]

    Specific posts
    ├ category – recruit
    └ taxonomy – jobtype [Hierarchy-based]

    Change the hierarchical base only in the specific taxonomy.php
    I would like to know the arguments and how to customize it.

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

The topic ‘change hierarchy type’ is closed to new replies.