WordPress.org

Forums

(Plugin: WordPress SEO Yoast)Pasting Yoast Breadcrumbs code in twentyfourteen (3 posts)

  1. Riley Hughes
    Member
    Posted 1 year ago #

    Hello every one,
    I seem to be having trouble with this, after searching tons of previous forum posts, blogs, youtube videos and written tutorials, I figured I would post the question myself.
    I am using the twentyfourteen theme for my site and have downloaded the Yoast SEO plug-in. I have tried inserting the code into many many different places but nothing seems to work. The closest I got was when the breadcrumb trail showed up but was partially hidden behind the side bar. Now I cant even remember how I did that. Any help or especially a walkthrough on how to accomplish this would be greatly appreciated, I really need to get back to writing my posts. This is the code ive been given:

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

  2. oleo
    Member
    Posted 1 year ago #

    Same problem here.

  3. mchavezi
    Member
    Posted 9 months ago #

    First, be sure to click "enable breadcrumbs" in the >internal links section under the Yoast SEO settings.

    Second, if its hidden behind another element such as the sidebar, its probably a CSS issue. Try adding something like this to your style sheet:
    .sidebar {
    position: relative;
    z-index: 1;
    }
    .breadcrumbs {
    position: relative;
    z-index: 2;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic