- This topic has 9 replies, 4 voices, and was last updated 3 years ago by David.
-
AuthorPosts
-
December 27, 2020 at 7:06 am #1595748chris
Hello,
Hope you all had a lovely Christmas.
I have a question you guys may be able to help with, I’ve had look through opened topics and ca’t seem to find anything relating to it.
I’ve just installed NavXT plugin, and I can see the setting page which has the default setting applied, the problems I’m having is from what I can tell this needs to be switched on, on the customise section, however, the breadcrumb section isn’t being displayed there. I’ve looked in the modules section to see if it’s configurable there but it doesn’t seem to be. I am I doing something silly?
Thanks
December 27, 2020 at 11:44 am #1595965YingStaffCustomer SupportHi Chris,
Any chance you can link us to the site in question?
You can use the private information field.
Let me know ๐
December 29, 2020 at 1:04 pm #1598747chrisHey thanks for getting back to me, yes that’s no problem. thanks
December 30, 2020 at 1:59 am #1599151DavidStaffCustomer SupportHi there,
the breadcrumb function needs to be added to the theme.
To do this:1. Go to Appearance > Elements and add a new Hook Element: https://docs.generatepress.com/article/hooks-element-overview/
2. Add this code to the Hook text area:<div class="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/"> <?php if(function_exists('bcn_display')) { bcn_display(); }?> </div>
3. Select the hook you want it displayed, eg.
generate_before_content
You can see where hooks are in this visual guide:
https://docs.generatepress.com/article/hooks-visual-guide/4. Set you Display Rules to the
Entire Site
or wherever you want them displayed.January 4, 2021 at 5:59 am #1604831chrisThanks for getting back to me, I’ll try this out
January 4, 2021 at 6:26 am #1604866DavidStaffCustomer SupportYou’re welcome = let us know.
January 4, 2021 at 6:29 am #1604870chrisHey so thanks again for the support, have to say generate press just seems to be getting better all the time and the support is brilliant.
The instructions above were very good and clear, but I had a small bit of trouble, just flagging in case anyone else reads this post.
I found the above didn’t seem to the display the breadcrumbs, however, I found this post, https://generatepress.com/forums/topic/how-can-i-make-breadcrumbs-visible-in-gp/#post-1101957
which I tired instead and seemed to work. I used this snippet of code from there and “check the execute PHP” and they seemed to work perfectly.
Thanks again
January 4, 2021 at 6:32 am #1604876DavidStaffCustomer SupportGlad you found that Topic ๐ I did look and couldn’t find it originally.
Glad to be of help!March 29, 2021 at 1:20 am #1713655CatherineThis just worked for me – thanks!
March 29, 2021 at 4:49 am #1713820DavidStaffCustomer SupportGlad to hear that!
-
AuthorPosts
- You must be logged in to reply to this topic.