• Resolved Ettore Gabrielli

    (@ettoregabrielli)


    I have posts where i like to display in breadcrumb category and also other taxonomy (series). It’s possible with shortcode or with hook in function.php?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Anh Tran

    (@rilwis)

    Hi @ettoregabrielli ,

    Yes, that’s possible with the plugin’s shortcode. The shortcode has the “taxonomy” parameter which you can set your own taxonomy. Please see the docs for details and how to use it.

    Thread Starter Ettore Gabrielli

    (@ettoregabrielli)

    Yes, I see it, but my question is if can i use two taxonomies in the same time, ex:

    taxonomy=category,series

    So breadcrumb result like

    Home > Category > Series Taxonomy > Article

    Plugin Author Anh Tran

    (@rilwis)

    Hi @ettoregabrielli,

    I’m afraid that’s impossible. Just imagine if you have multiple taxonomies and how to order them in the breadcrumbs. The breadcrumbs in this case probably doesn’t reflect the proper structure of your website content.

    I’d suggest using only one taxonomy in the breadcrumbs and use other taxonomies to show list of your posts elsewhere.

    Thread Starter Ettore Gabrielli

    (@ettoregabrielli)

    Ok, thanks.
    There are hooks for breadcrumb to eventually add them via functions.php ?

    Plugin Author Anh Tran

    (@rilwis)

    Hi @ettoregabrielli

    Yes, that’s doable. Please try this:

    echo do_shortcode( '[slim_seo_breadcrumbs taxonomy="category"]' );

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Breadcrumb with multiple taxonomy’ is closed to new replies.