-
AuthorPosts
-
September 23, 2013 at 3:52 pm #3225
Kriss Harmsworth
GuestIs 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 🙂
September 23, 2013 at 6:53 pm #3226Ron
KeymasterHi 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.
September 24, 2013 at 1:15 am #3233Ron
KeymasterIt 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…
September 24, 2013 at 2:45 am #3234Kriss Harmsworth
GuestThat 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.. 😀
Kriss 🙂
September 24, 2013 at 2:47 am #3235Kriss Harmsworth
GuestOk just went in and put in my email so will see what happens… 😀
September 24, 2013 at 10:04 am #3240Ron
KeymasterIf 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.
September 24, 2013 at 2:52 pm #3241Kriss Harmsworth
GuestOh not seen that plugin … will have a play with that… 😀
Thank you!
Kriss 🙂
September 24, 2013 at 3:07 pm #3242Kriss Harmsworth
GuestNow that works!
Thank you!Kriss 🙂
-
AuthorPosts
- The forum ‘Frontier’ is closed to new topics and replies.