Site logo

Archived topic

Hooks??? Where is it??

13 replies · Started by Jacob on March 8, 2019

Viewing posts 1–14 of 14

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

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 site

And I enabled the Yoast Breadcrumbs - But it does not work..

What is wrong?? Thanks

Thanks 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

<script>
[wpseo_breadcrumb]
</script>

Hi there,

try either the PHP or the shortcode just don't wrap it in the <script></script> tags.....

Thanks David! Great it works fine now!

Thanks!

You're welcome.

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

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

Can 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.

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

You're welcome - glad we could be of help.

This archived topic is closed to new replies.