WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Yoast WP SEO] Where to paste breadcrumb code (2 posts)

  1. WebAuthor5555
    Member
    Posted 2 years ago #

    Under the Breadcrumb Settings in Yoast WP SEO it states:
    <start quote>
    How to insert breadcrumbs in your theme

    Usage of this breadcrumbs feature is explained here. For the more code savvy, insert this in your theme (My added Reference to question 1 below):

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

    I followed the link to instructions at http://www.wpbeginner.com/plugins/how-to-install-and-setup-wordpress-seo-plugin-by-yoast/ . That site stated:
    <start quote>
    Lastly, this feature does not automatically add itself unless you are using Hybrid, Thesis, or Thematic. For other themes, you will have to add the following code in your loop (My added Reference to question 2 below):
    <?php if ( function_exists('yoast_breadcrumb') ) {
    yoast_breadcrumb('<p id="breadcrumbs">','</p>');
    } ?>
    <end quote>

    Once again, these instructions are woefully inadequate.
    1) Insert this where in my theme?
    2) Insert this where in the loop? Before the loop? After which line in the loop? At the end of the loop?

    Is it asking too much for the author of the instructions or docs (when they exist) to simply not generalize and skip over what they believe to be the obvious to them? We can't read their minds!

  2. hoodhendrix
    Member
    Posted 1 year ago #

    i agree im looking for the same. its alot of half ass proffesional info. especially about things that are so simple to explain. like copy and paste between here and here etc. damn!

Topic Closed

This topic has been closed to new replies.

About this Topic