• This is a really powerful plugin! Would definitely recommend checking it out!

    • This topic was modified 3 years, 3 months ago by Mwale Kalenga. Reason: Works great. Didn't work initially due to a problem on my site
    • This topic was modified 3 years, 3 months ago by Mwale Kalenga.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Havlik

    (@mtekk)

    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/”&gt;
    <?php
    if(function_exists(‘bcn_display’))
    {
    bcn_display();
    }?>
    </div>`. See https://mtekk.us/archives/guides/calling-the-breadcrumb-trail/ for some examples.

    Thread Starter Mwale Kalenga

    (@mwalek)

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Powerful Plugin’ is closed to new replies.