- This topic has 13 replies, 3 voices, and was last updated 4 years ago by
David.
-
AuthorPosts
-
March 8, 2019 at 2:23 pm #833310
Jacob
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
GP Premium 1.7.8March 8, 2019 at 2:35 pm #833315Leo
StaffCustomer 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-789461Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 8, 2019 at 3:57 pm #833357Jacob
Hi, 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 #833366Leo
StaffCustomer SupportI would just use shortcode Yoast recommended in this page”
https://kb.yoast.com/kb/implement-wordpress-seo-breadcrumbs/Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 9, 2019 at 5:36 am #833706Jacob
Thanks Leo! I tried with the short code:
<script>
Support Hooks??? Where is it??
</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>
Support Hooks??? Where is it??
</script>March 9, 2019 at 5:39 am #833709David
StaffCustomer SupportHi there,
try either the PHP or the shortcode just don’t wrap it in the <script></script> tags…..
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 9, 2019 at 6:02 am #833716Jacob
Thanks David! Great it works fine now!
Thanks!
March 9, 2019 at 6:12 am #833728David
StaffCustomer SupportYou’re welcome.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 9, 2019 at 7:16 am #833901Jacob
Thanks 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 #833960Jacob
Hi, 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 #834000David
StaffCustomer 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.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 9, 2019 at 1:26 pm #834111Jacob
Thanks 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 #834158David
StaffCustomer SupportYou’re welcome – glad we could be of help.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.