• Resolved Roy Tanck

    (@roytanck)


    The main site in a multisite WordPress install I’m working on uses a custom post type (example slug: “cakes”). Regular posts are used for news, so when I check the “Blog Breadcrumb” option and got to my “blog page”, the breadcrumbs show:

    Home > News

    When I visit mysite.com/cakes (the custom post type’s archive page), the creadcrumbs also display:

    Home > News

    I’d very much like this to be:

    Home > Cakes

    Can you tell me how to go about this?

    Single custom post type posts have the correct breadcrumbs:

    Home > Cakes > Chocolate

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

    (@mtekk)

    On the single custom post type posts, what does the page linked to by “Cakes” have for its breadcrumb trail? By default, this should just work (it does on my testbed and my website for the CPTs I’m using)—the breadcrumb trail for the archive page for a CPT isn’t really affected by the settings for the CPT (beyond the root page setting, but that shouldn’t be applicable for this situation).

    Thread Starter Roy Tanck

    (@roytanck)

    Thanks for your reply. I’ve dug a little deeper, and the issue appears to have been caused by the Search & Filter Pro plugin. Disabling that plugin gives me nice “Home > cakes” breadcrumbs. I’ll see if I can set the S&F plugin up in a way that this issue is avoided, but as it turns out, NavXT is solid (as always).

    tapiohuuhaa

    (@tapiohuuhaa)

    I have use as separator span tag with a class without any content inside the span tag
    .breadcrumblist a.home span::before,
    .bsp-home-icon::before {
    content: “\f102”;
    font: 400 0.9rem/1 dashicons;
    position:relative;
    top:3px;
    padding:3px;
    }

    looks very nice – the separator looks exactly the same in normal pages and forum area even if breadcrumbs have been generated with different plugins. See:

    https://www.sanaristikkofoorumi.net/wordpress/ristikkoartikkelit/
    https://www.sanaristikkofoorumi.net/wordpress/forums/forum/muut-aiheet/wordpress-bbpress/

    If you want nice separators use dashicons! You might need to fix position and padding values.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘“Blog Breadcrumb” with custom post type’ is closed to new replies.