• Resolved name

    (@technologypoet)


    Hey there,

    I didn’t see shortcode support, so wanted to confirm that this was the correct way to create a shortcode for the nav menu:

    I added this in functions.php
    add_shortcode( ‘show-breadcrumb’ , ‘ss_show_breadcrumb’);
    function ss_show_breadcrumb() {
    if(function_exists(‘bcn_display’))
    {
    return bcn_display(true);
    }
    }

    and then called [show-breadcrumb] to output it.

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

    (@mtekk)

    That will probably work. Just note that shortcodes are a little annoying to use since you have to add them to each post to see the breadcrumb trail on that page.

    Thread Starter name

    (@technologypoet)

    Thanks, many of the themes I use have a place to add text in the header area, at least in this case the shortcode is fairly convenient.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Shortcode support’ is closed to new replies.