- This topic has 14 replies, 2 voices, and was last updated 4 years, 6 months ago by Leo.
-
AuthorPosts
-
October 13, 2019 at 11:52 am #1033674Norman
Hello,
Wondering if you can help with putting breadcrumbs in? It worked with my previous theme and yoast, but can’t seem to get it to work with GP –
Followed directions from this page on yoast: https://kb.yoast.com/kb/implement-wordpress-seo-breadcrumbs/
Added this code: <?php
if ( function_exists(‘yoast_breadcrumb’) ) {
yoast_breadcrumb( ‘<p id=”breadcrumbs”>’,'</p>’ );
}
?>Used the info from the GP documentation here: https://docs.generatepress.com/article/adding-breadcrumbs/
Here’s what I get: https://www.screencast.com/t/i3j2VmsSXv
Any ideas how I can fix this? It “seems” I’ve done things correctly, but evidently not.
October 13, 2019 at 12:01 pm #1033681NormanSorry, but I sent a protected article link. The one below should work for you to be able to see the error I’m getting:
https://churchletters.org/church-letters/absence-church-letters/we-miss-you-at-church
October 13, 2019 at 12:37 pm #1033695LeoStaffCustomer SupportHi there,
This should help:
https://generatepress.com/forums/topic/adding-breadcrumbs-3/Let me know π
October 13, 2019 at 12:48 pm #1033699NormanSo there is shortcode to add too? I don’t see that anywhere in the directions. Thanks for pointing me to this, but so far, I can’t get it to work.
(Not sure if I should respond on that post, or this one)
October 13, 2019 at 12:49 pm #1033701October 13, 2019 at 1:03 pm #1033708LeoStaffCustomer SupportInstead of the code that you are currently adding, try adding just the shortcode:
https://generatepress.com/forums/topic/adding-breadcrumbs-3/#post-1032295Let me know π
October 13, 2019 at 1:06 pm #1033711NormanI’m adding this shortcode: [wpseo_breadcrumb]
Nothinng is coming up for me and I do have Yoast activated and I don’t use caching.
October 13, 2019 at 1:09 pm #1033713LeoStaffCustomer SupportWeird. It should work by default.
Then add your original code, then check to execute PHP instead.
October 13, 2019 at 1:16 pm #1033715October 13, 2019 at 1:22 pm #1033718LeoStaffCustomer SupportCan you activate the parent theme temporarily and see if it makes a difference?
If not you will likely need to check with Yoast’s support. I don’t see their code showing up at all with either method so something.
October 13, 2019 at 1:24 pm #1033719LeoStaffCustomer SupportI also see some console errors:
https://www.screencast.com/t/BTppssq4PgMight be good to disable all plugins except GP Premium and Yoast to test as well.
October 13, 2019 at 1:24 pm #1033720NormanI would rather not activate the previous theme. It gave me much trouble although the breadcrumbs did work.
I’m waiting to hear back from Yoast on a possible answer.
October 13, 2019 at 1:26 pm #1033721LeoStaffCustomer SupportI’m referring to parent theme and not the previous theme π
Looks like you are using a child theme, try activating the parent theme.
October 13, 2019 at 1:28 pm #1033722NormanSorry. For some reason, Breadcrumbs was not activated in Yoast. I thought it would be fine, but perhaps when installing a new theme, it deactivates first.
My bad!
Appreciate your help.
October 13, 2019 at 1:29 pm #1033724LeoStaffCustomer SupportNo problem π
-
AuthorPosts
- You must be logged in to reply to this topic.