• Resolved stefan0215

    (@stefan0215)


    Hi there,

    we are using YOAST SEO plugin and would like to implement Yoast SEO breadcrumbs on our website.

    I have enabled the Breadcrumb settings in the YOAST SEO dashboard and they are displayed on the website.

    We are using SUPREME (parent) and PUBLISHER (child) themes from Templatic.com.

    I’ve checked on the breadcrumb settings in the themes and found the following code in the page.php of SUPREME, the parent theme:

    <?php if ( current_theme_supports( ‘breadcrumb-trail’ ) && hybrid_get_setting( ‘supreme_show_breadcrumb’ ) ) { breadcrumb_trail( array(
    ‘separator’ => ‘»’,
    ) );} ?>

    Now, according to YOAST SEO blog – https://yoast.com/breadcrumbs-seo/ – one should add the following code snippet

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

    to the theme’s single.php, page.php or header.php files, just above the title of the page.

    My questions

    Do I have to place this code in addition?
    And if so, in which directory and file should I add it?
    And where exactly do I have to place it in the respective file?

    to capitalize on the YOAST SEO plugin features and enhance SEO website.

    Parent theme SUPREME has got header.php and page.php. No single.php.
    Child theme PUBLISHER has only got header.php.

    Thanks for your help on this.

    Best

    Stefan

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    We are not familiar with your site or how it is set-up so we are unable to say where you should place.

    We suggest adding the code snippet starting on the header.php file of the child theme and then experimenting via trial and error where the code goes exactly. As you are editing your theme’s files we suggest taking a backup prior to this. If you are not sure how to take a backup, your host provider can help.

    Note, that depending on your theme it you may see duplicate breadcrumbs. One from Yoast when you add the code and the other from your theme. If you use the Yoast breadcrumbs you will need to speak to your theme developer for information on how to disable the breadcrumbs from the theme as having two sets of breadcrumbs is confusing for both search engines and users.

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘YOAST SEO breadcrumb navigation’ is closed to new replies.