WordPress.org

Ready to get started?Download WordPress

Forums

Breadcrumb NavXT
Custom Post Type archive page not working anything (5 posts)

  1. sccr410
    Member
    Posted 3 years ago #

    I setup a Custom Post Type which uses categories. When viewing a category page for a custom post type, it shows the path as:

    Home / Category

    It should be:

    Home / Custom Post Type / Category

    Is there a fix for this or what am I doing wrong?

  2. John Havlik
    Member
    Plugin Author

    Posted 3 years ago #

    You are never going to see "Home / Custom Post Type / Category" as "Category" is not a child of "Custom Post Type". The proper breadcrumb trail is "Home / Category" or "Home / Posts Page Name / Category" as categories are built in and first and foremost associated with posts.

    In Breadcrumb NavXT 3.7.0 if you set the "Post Type Root" to the page "Custom Post Type" and you use "Custom Taxonomy" as your taxonomy for the custom post type then you can have a breadcrumb trail as so: "Home / Custom Post Type / Custom Taxonomy", so long as the post type is the first one that is valid for the custom taxonomy. It all comes down to what the plugin can determine and where. On the page for the custom post type, the plugin can find anything it wants, on archive pages, especially with mixed post types, it is much more difficult.

  3. sccr410
    Member
    Posted 3 years ago #

    I'll just have to wait for 3.7 to be available - your site and WordPress.com are still at 3.6

  4. sccr410
    Member
    Posted 3 years ago #

    I just realized my explanation of Category was misleading.

    I want:

    Home / Custom Post Type / Taxonomy

    and

    Home / Custom Post Type / Taxonomy / Single Custom Post Title

    As it stands right now, with 3.6, I cannot do this. In fact, it keeps doing:

    Home / Blog / Taxonomy

    and

    Home / Blog / Taxonomy / Single Custom Post Title

  5. Mr. NiceGuy
    Member
    Posted 3 years ago #

    Yes. It also would be great to customize categories, taxos and tags with one individual text and link.
    If (for example) you have a blog writing for flowers your category base could be flowers.
    It would be great to customize breadcrumbs to show Startpage > Flowers > Roses ...
    Now what to show when a user clicks on "Flowers"?
    A textfield for entering an url. For example an url to a page where an overview of the categories is shown.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic