Insert code for breadcrumb

  • Alain RONK

    #9064

    Hello

    I use Graphene theme and the plugin WordPres SEO. My WP is 3.9.1.

    I would like to activate the breadcrumb that is with WP SEO.

    What file do I copy this code, please?

    <?php if ( function_exists('yoast_breadcrumb') ) {
    yoast_breadcrumb('<p id="breadcrumbs">','</p>');
    } ?>

    Thank you for your help

    Mod

    Kenneth John Odle

    #42691

    Use a PHP Widget and install that in a Graphene custom action hook widget area wherever you want the breadcrumb to appear.

    Alain RONK

    #42693

    Thank you Kenneth four your replie

    I wrote the code in the widget Graphene Top Content

    But it does not work…

    See the screen :

    Screen.jpg

    Do you have an idea?

    Prasanna SP

    #42694

    Alain RONK

    #42695

    Hello Prasanna

    Thank you for your response!

    Best regards

    Alain

    Prasanna SP

    #42696

    Marking thread as resolved. You can do this yourself as well.

    Alain RONK

    #42697

    Yes, ok

    Thank you Prasanna

    Best regards

    abofayez

    #42698

    use this code :

    <?php if ( function_exists(‘yoast_breadcrumb’) ) {

    $breadcrumbs = yoast_breadcrumb(“”,””,false);

    } ?>

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.