• Hi

    I want to add the post type name or the parent menu item in the breadcrumb trail.
    How can I do that?
    Right now it shows just the name of the post type page.

    Thank you

    • This topic was modified 5 years, 1 month ago by etna32.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Havlik

    (@mtekk)

    Out-of-the-box Breadcrumb NavXT does not use the WordPress menu system for titles or content structure represented in the breadcrumb trail. If you want to add this feature, you will need to write code extending Breadcrumb NavXT to use your menu structure (will likely need to extend the bcn_breadcrumb_trail class). If you don’t want to write your own code, the Menu Magic premium extension allows Breadcrumb NavXT to use a specified menu for breadcrumb trail structure and breadcrumb titles.

    Thread Starter etna32

    (@etna32)

    Thank you for your answer.

    But what about post types?
    I want to see the post type before the post type page but it did not show up.
    I created a taxonomy but I can not see it also.
    The same with the Pages/categories. I can not see the category in the trail.
    The ONLY way to see a category in the trail, is:
    1. Posts categories.
    2. Parent pages (that look like category in the trail).

    Do I miss something?

    Regards

    Plugin Author John Havlik

    (@mtekk)

    What do you mean by “post type page”, are you talking about a post that is of your custom post type (e.g. an instance of your CPT)? Or are you talking about something different? Displaying the “post type” in the breadcrumb trail can be accomplished two different ways. You can enable archives for that post type and change the setting in Breadcrumb NavXT to include the post type archive. Otherwise, you can set a root page for the post type, where you use a page (an instance of the page post type) akin to the “page for posts”.

    For the taxonomy you created, where are you expecting to see it?

    Custom post types and the ‘post’ post type can select the “hierarchy” in the post type settings under the “Post Types” tab in the Breadcrumb NavXT settings page. You should see the available taxonomies for each post type. Set to the taxonomy you want to use and make sure to press the “Save Changes” button.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add Post type or Parent menu link’ is closed to new replies.