Conversation
review · 5 starsThis is a really powerful plugin! Would definitely recommend checking it out! This topic was modified 4 years, 9 months ago by Mwale Kalenga . Reason: Works great. Didn't work initially due to a problem on my site This topic was modified 4 years, 9 months ago by Mwale Kalenga .
I guess I wouldn’t really call a shortcode user friendly, it would require you to add a shortcode to every post that you wanted a breadcrumb trail on. It’s much easier to either use the included widget (add once to theme sidebars), modify your theme to call bcn_display() , or to use the various block templating/patterning methods and the included Gutenberg Block. Yes, it’s not an ‘activate and breadcrumbs magically appear’ kind of plugin (unless your theme explicitly supports it out-of-the-box). How are you trying to add a container? It should be as easy as wrapping the call to bcn_display() (e.g. `<div class=”breadcrumbs” typeof=”BreadcrumbList” vocab=” https://schema.org/”> ; <?php if(function_exists(‘bcn_display’)) { bcn_display(); }?> </div>`. See https://mtekk.us/archives/guides/calling-the-breadcrumb-trail/ for some examples.
Hi John! I appreciate you looking into this. Apparently, I have a conflict on my hands (which I already tested for). But anyway, my code works on a fresh WP install. Sorry about the false alarm. Cheers, Mwale
I guess I wouldn’t really call a shortcode user friendly, it would require you to add a shortcode to every post that you wanted a breadcrumb trail on. It’s much easier to either use the included widget (add once to theme sidebars), modify your theme to call bcn_display() , or to use the various block templating/patterning methods and the included Gutenberg Block. Yes, it’s not an ‘activate and breadcrumbs magically appear’ kind of plugin (unless your theme explicitly supports it out-of-the-box). How are you trying to add a container? It should be as easy as wrapping the call to bcn_display() (e.g. `<div class=”breadcrumbs” typeof=”BreadcrumbList” vocab=” https://schema.org/”> ; <?php if(function_exists(‘bcn_display’)) { bcn_display(); }?> </div>`. See https://mtekk.us/archives/guides/calling-the-breadcrumb-trail/ for some examples.
Hi John! I appreciate you looking into this. Apparently, I have a conflict on my hands (which I already tested for). But anyway, my code works on a fresh WP install. Sorry about the false alarm. Cheers, Mwale