WordPress.org

Ready to get started?Download WordPress

Forums

Yoast Breadcrumbs
Add the code to the theme? (4 posts)

  1. kovalski
    Member
    Posted 2 years ago #

    Hello,

    I have a really noob question, but I just start with all this. What is the exact file, where I need to add the code:

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

    For example if using the Twenty Eleven 1.2 default theme? I tried some but no results.

    Thanks!

    http://wordpress.org/extend/plugins/breadcrumbs/

  2. pixeline
    Member
    Posted 2 years ago #

    Well, you could start by adding it to your single.php template file (that's the one that controls the layout of a single article).

  3. shomettec
    Member
    Posted 2 years ago #

    I too have the same question. I don't want it on single.php. I want it on all pages.

  4. pixeline
    Member
    Posted 2 years ago #

    add it in every template used by your theme.
    See this chart :
    http://codex.wordpress.org/File:Template_Hierarchy.png

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic