Shortcode support
-
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)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Shortcode support’ is closed to new replies.