I am tired...

Adding Breadcrumbs to Theme

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #3225

    Kriss Harmsworth

    Is there anyway you incorporate breadcrumbs into the theme? Of course with an option to not have it for those who don’t use it. At the moment I am using Yoast to do the breadcrumbs and every time I update I have to put the code back in. And yes I could use a child theme but it would be lovely to have it as part of the theme.

    Kriss :)

    #3226

    Ron
    Keymaster

    Hi Kriss,

    I also use Yoast. I think it would be easier and practical to make the yoast breadcrumb code (The code that you add) officially part of the theme instead of making a completely new breadcrumb system. I’ll just add it in the index.php. This way, you won’t have to add the code yourself every time the theme is updated.

    #3233

    Ron
    Keymaster

    It seems those who login on this forum using twitter can’t get notifications. Email must be changed manually on profile.. Or maybe I should just remove twitter login…

    #3234

    Kriss Harmsworth

    That would be brilliant!

    Thank you!

    If poss can you make it appear at the top of the pages rather then in-between the menu and the pages? Would make it look a lot neater. Although thinking about you have to add to every template wouldn’t you?

    Just a thought.. :D

    Kriss :)

    #3235

    Kriss Harmsworth

    Ok just went in and put in my email so will see what happens… :D

    #3240

    Ron
    Keymaster

    If poss can you make it appear at the top of the pages rather then in-between the menu and the pages? Would make it look a lot neater. Although thinking about you have to add to every template wouldn’t you?

    Now I’m a little reluctant to add it :) I’m thinking most people would want to place it differently.

    I think there may be a better solution for you if you don’t want to use a child theme. You could install this php widget plugin. A new widget called “PHP Code” will be available. It’s just similar to a normal text widget. You can place that anywhere you like then add this code:

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

    You could place it on the “Before Content” sidebar which is on top of the post. Or you could place it on the “Post – Header” sidebar which is inside the post on top of the title.

    #3241

    Kriss Harmsworth

    Oh not seen that plugin … will have a play with that… :D

    Thank you!

    Kriss :)

    #3242

    Kriss Harmsworth

    Now that works!
    Thank you!

    Kriss :)

Viewing 8 posts - 1 through 8 (of 8 total)

The forum ‘WP Theme – Frontier’ is closed to new topics and replies.

ronangelo © 2012 - 2014 Frontier Theme
css.php