Ready to get started?Download WordPress


[resolved] [Plugin: Yoasts Breadcrumbs]: where to insert code? (3 posts)

  1. RHCdG
    Posted 4 years ago #


    This plugin is just what I need. However, the installation instructions tell me to insert the following code in my theme's template:

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

    I am not sure on what page and where exactly on that page I should add the above code. I am using the Atahualpa theme.

    I am still very new to WordPress and would appreciate if any responses could be as specific as possible, i.e., what file in my template, and which line?

    Many thanks!

  2. RHCdG
    Posted 4 years ago #

    Solved this through my own research!
    Code should be entered right after

    <?php get_header(); ?>

    in the theme's index.php file.

  3. RHCdG
    Posted 4 years ago #

    Alternatively, of course, one could put it in the header.php

    Found this info at http://forum.bytesforall.com/showthread.php?t=612

    Don't know if this works for other themes beside Atahualpa as well...

Topic Closed

This topic has been closed to new replies.

About this Topic