Breadcrumbs – Code Insert

  • Peter
    Peter
    Newbie 32 points
    August 13, 2013 at 2:21 am

    For shopperpress, where does one insert the Yoast Breadcrumb code at?

    For example, <?php if ( function_exists(‘yoast_breadcrumb’) ) {
    yoast_breadcrumb(‘<p id=”breadcrumbs”>’,'</p>’);
    } ?>

    Thank you.

  • Mark Fail
    Mark Fail
    Super Guru 13,013 points
    August 13, 2013 at 5:54 am

    you add it wherever you want it to dislay, there is no correct location since its down to your own design requirements.

  • Peter
    Peter
    Newbie 32 points
    October 11, 2013 at 10:34 pm

    I understand. I guess the correct question is, Is there a way to streamline the code into the theme so that I breadcrumb all of the article, product and regular pages.

    Thank you.

  • Mark Fail
    Mark Fail
    Super Guru 13,013 points
    October 12, 2013 at 12:31 am

    confused..if your using yoast breadcrumbs you’ll need to consult their options, i personally have never used it so couldnt tell you.

  • Richard Bonk
    Richard Bonk
    Super Guru 2,739 points
    October 12, 2013 at 7:18 am

    I guess the correct question is, Is there a way to streamline the code into the theme so that I breadcrumb all of the article, product and regular pages.

    Yes there is, you need to use the function hook and load the breadcrumb code just before the content. I believe it has been discussed before, so try search the forum.

    Kind regards,

    Richard
    _____________________________________________________________________
    Wide range of PremiumPress and WordPress Plugins and add-ons
    PremiumPress customisation services and Website Design
    Selection of PremiumPress Child Themes

  • Peter
    Peter
    Newbie 32 points
    October 12, 2013 at 8:25 pm

    I looked and cannot find it. I am trying to understand what you mean by, “function hook”. Even though I am not a code writer, I still have the ability to edit the code.

    Thank you all for any help.

  • Peter
    Peter
    Newbie 32 points
    October 12, 2013 at 8:26 pm

    @Mark, THis is your theme and when I ask the developer of the plugin how to install, well, your theme is something of beauty and very different from other themes. It is not easy to find where to install.

  • Brandon
    Brandon
    Titan 709 points
    October 13, 2013 at 5:15 am

    Peter click on below link.

  • Brandon
    Brandon
    Titan 709 points
    October 13, 2013 at 5:15 am
  • Peter
    Peter
    Newbie 32 points
    October 13, 2013 at 3:46 pm

    Ok, so I added the code at the bottom of the child theme _functions file. I went back to the site and it was not crashed! Yey! I am curious though…..are we supposed to see the trail? If so, I do not see it.

  • Peter
    Peter
    Newbie 32 points
    October 13, 2013 at 3:54 pm

    Duh! I had to enable to breadcrumbs! lol… thank you all for your help. I have been trying to figure this out for months!

    Richard, Brandon, Mark… I appreciate all of you.

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

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes