- This topic has 13 replies, 3 voices, and was last updated 5 years, 1 month ago by David.
-
AuthorPosts
-
March 8, 2019 at 2:23 pm #833310Jacob
Hi I am premium customer and I have installed GeneratePress on two sites now. I can not find the function “hooks” in the offered services – it’s really weird. I have seen your tutorial video but for me “hooks” does not show up in my Dashboard>Appearence>Generate Press. I want to enable Breadcrumbs and from what I have read I can only do that through “hooks” – So how do I enable Hooks??
Thanks, Jacob
March 8, 2019 at 2:35 pm #833315LeoStaffCustomer SupportHi there,
Hooks is now under Elements.
This post should help:
https://generatepress.com/forums/topic/i-can-not-add-breadcrumbs-to-my-blog/#post-789461March 8, 2019 at 3:57 pm #833357JacobHi, thanks for great support! Very fast too!
However, I’m too stupid for these things. I added the code in thefield of the Hook, as it sasy in the video:<script>
<?php
if ( function_exists(‘yoast_breadcrumb’) ) {
yoast_breadcrumb( ‘<p id=”breadcrumbs”>’,'</p>’ );
}
?>
</script>I tried to check in both with/without “Execute PHP/shortcodes”
Show on entire siteAnd I enabled the Yoast Breadcrumbs – But it does not work..
What is wrong?? Thanks
March 8, 2019 at 4:20 pm #833366LeoStaffCustomer SupportI would just use shortcode Yoast recommended in this page”
https://kb.yoast.com/kb/implement-wordpress-seo-breadcrumbs/March 9, 2019 at 5:36 am #833706JacobThanks Leo! I tried with the short code:
<script>
[wpseo_breadcrumb]
</script>However it does not work.. I have enabled the Breadcrumbs in Yoast and I have clicked “entire site”..
Thanks for helping me!
/Jacob
March 9, 2019 at 5:37 am #833707Jacob<script>
[wpseo_breadcrumb]
</script>March 9, 2019 at 5:39 am #833709DavidStaffCustomer SupportHi there,
try either the PHP or the shortcode just don’t wrap it in the <script></script> tags…..
March 9, 2019 at 6:02 am #833716JacobThanks David! Great it works fine now!
Thanks!
March 9, 2019 at 6:12 am #833728DavidStaffCustomer SupportYou’re welcome.
March 9, 2019 at 7:16 am #833901JacobThanks again. Unfortunately I have one more problem.
So I have managed to fix the breadcrumbs now. However on some pages the navigation does not appear since there is not enough space in the container where I like it.
When I go to the Appearence>Customize>Layout and fix the space – it looks great in the editing window. I can see my breadcrumbs, just like I want them.But then when I publish and I go to the live pages/site some of the pages look completely different and the container is not adjusted as it appeared when I do it..
I guess there is some annoying thing that overwrites my adjustments?Thanks, Jacob
March 9, 2019 at 8:59 am #833960JacobHi, think I accidentally marked the last message as resolved..
Thanks again. Unfortunately I have one more problem. Sorry, I’ll post it again:
So I have managed to fix the breadcrumbs now. However on some pages the navigation does not appear since there is not enough space in the container where I like it.
When I go to the Appearence>Customize>Layout and fix the space – it looks great in the editing window. I can see my breadcrumbs, just like I want them.But then when I publish and I go to the live pages/site some of the pages look completely different and the container is not adjusted as it appeared when I do it..
I guess there is some annoying thing that overwrites my adjustments?Thanks, Jacob
March 9, 2019 at 9:57 am #834000DavidStaffCustomer SupportCan you provide a link to the site so we can see the issue? You can edit your original topic and use the Site URL field for privacy.
March 9, 2019 at 1:26 pm #834111JacobThanks again David. My apologies – I used an incognito window to check the changes and they would not appear. But then later when I checked again everything was like it should be. Seems like there some cache issue. Thanks, it’s all resolved now.
/Jacob
March 9, 2019 at 3:32 pm #834158DavidStaffCustomer SupportYou’re welcome – glad we could be of help.
-
AuthorPosts
- You must be logged in to reply to this topic.