• Hello,

    Still working my way through the setup of this plugin, and have come to another question.

    I’m at Step 8: Internal Links Settings, and I’m looking at the following instructions:

    For other themes, you will have to add the following code in your loop:

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

    OK, what loop? Please be really specific here. Do I insert it into my style.css? The one for Genesis or for my Church theme? OK, if not my style sheet, where? one of my .php files? Which one? Where in whatever document I access, do I insert this code? Beginning, middle, end? After_______ but before_______”if it exists”?

    Sorry for being such a pest, but I’m trying to do this right, without much of a clue.

    Thanks for any assistance.

    Regards,

    Diana

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter standdiana

    (@standdiana)

    Hello,

    OK, well I have done some reading in the WP Codex, and I have some idea now what my loop is.

    I’m running Genesis 3.1 and the Church Child Theme.

    Here’s the problem. If I have a post filed under more than one category, the breadcrumb remains the same no matter what category I access the post. For Example, Category A > Post A will show as the breadcrumb even though I’ve gone to Category B > Post A to read the post.

    I have attempted to insert the above code into every loop I could find in an attempt to correct this problem, however the breadcrumb shows incorrectly no matter what loop I insert the code into.

    Here’s a recap:

    I can find no loop in my child theme.

    In Genesis>Structure>Loops: If I insert the above mentioned code in one place, it outputs two incorrect breadcrumbs (both the same) and a breadcrumb above every one of my content archive excerpts. (Just one at the top of the page would be OK, but not above every excerpt); If I insert the code in a different place, I get the repetitive archive breadcrumbs.

    Genesis>index.php and Genesis>functions.php have no loops

    Twenty Ten has many loops. I inserted the above referenced code into every loop I could find in this folder, but not a single time was there any change in the incorrect breadcrumb readings.

    I really don’t know what to do next. In the time that I was waiting for a response to this initial question, I have educated myself as well as I could in regard to the loop.

    Still, I am unable to get the breadcrumbs to show correctly.

    Joost? Anyone?

    Regards,

    Diana

    Thread Starter standdiana

    (@standdiana)

    Hey Again,

    Just so you can see an example, click on the first article on this category archive page (Container Gardens; Portable Nature).

    http://www.myyardrocks.com/category/featured-yardscape-articles/

    You’ll see that even though you have navigated here via the Yardscape>Featured Articles Category, when you click on that first article, which is also filed under Hardscapes>Adding Style and Function, the breadcrumb shows the Hardscape category instead of the yardscape category.

    That’s it.

    Regards,

    Diana

    http://voodoopress.com/2011/02/modify-header-php-to-get-the-most-out-of-yoasts-seo-plugin-in-a-twentyten-child-theme/

    Not sure if this will be any assistance. I actually place the code under the main div in twenty ten

    It does seem that the breadcrumb just follows a trail through a category to the post, using probably the first cat assigned to the post, regardless of how you got to the post. (ie, the crumb trail doesn’t know what category you came from)

    Thread Starter standdiana

    (@standdiana)

    Hey Rev,

    Well, I was a bit hesitant to try moving my header.php (what I’d need to do first, right?) just because I’m still pretty much of a newb and it’s somewhat intimidating.

    But I finally did it and my whole site went haywire. Everything was pushed over to the left and smooshed together. I just deleted the header.php from my church theme (you did mean that I should put it in the church folder, not the genesis folder, yes?)

    Anyway, now that I’ve begun to browse your site, first of all, I’ve found another great learning tool, and second, I really want to tweak things the way you suggest in your article (linked to above) for the purpose of getting everything I can out of Joost’s WP SEO plugin.

    SO. Any suggestions on what’s going on with the moving of the header.php?

    Thanks, Rev

    Diana

    Thread Starter standdiana

    (@standdiana)

    Oh, yeah – one more thing.

    What do you mean by

    place the code under the main div in twenty ten

    ?

    Do you mean instead of moving the header.php and placing the code there? And what/where is the main div?

    Thanks for being patient Rev, I’m learning as fast as I can while also trying to write content for my blog.

    I appreciate your time.

    Regards,

    Diana

    Thread Starter standdiana

    (@standdiana)

    Hey Rev,

    Well,I’ve done some more research. Got what the div is (WP Codex) and I think maybe I know why your solution isn’t working for me. Is it because I’m running Studiopress and Church is a child of Genesis, not Twenty Ten? Let me know if I’m getting warmer or way off base.

    So is your website only for those running WP and not Studiopress? (If so, I’ll be disappointed, I thought there was stuff I could learn there)

    And what about your suggestions for increasing the functionality of Jooost’s plugin?

    Thanks for any guidance, Rev, I appreciate it.

    Regards,

    Diana

    Thread Starter standdiana

    (@standdiana)

    OK, moving right along here. What I did was to move the Genesis header.php to the Church child theme. That, at least, didn’t break my blog. Then tried the suggestions in your post, but only got double breadcrumbs, both still incorrect.

    I sent an email to Joost from his website, and he got back to me pretty quickly. Here’s what he says:

    No, there’s no way to fix that currently, as WordPress doesn’t have something like a primary category…

    SO. At present, I don’t mind so much, because I’m just building my blog and my visitors are few. But when I finish filling the site out with content and get everything the way I want it to look and function, that breadcrumb issue is going to bother me.

    How probable is it that WP will create “something like a primary category”? (Before I finish building my blog?)

    Anyone?

    Regards,

    Diana

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WordPress SEO by Joost, Breadcrumb Question’ is closed to new replies.