Site logo

Archived topic

Where to place breadcrumbs code on Theme editor?

3 replies · Started by shlomo on January 3, 2022

Viewing posts 1–4 of 4

Hi there! So, I have installed a plugin called Rank Math and I need to copy a breadcrumbs code on Theme Editor. But I was advised to consult first our theme support on where should I properly place the code on Theme editor.

Can someone direct me where possibly be the right area to place the breadcrumbs code?
Looking forward to hear from you soon. Thanks!

Hi there,

It depends on where you want the breadcrumbs to appear.

But normally, GP users usually create a Hook Element containing [rank_math_breadcrumb] shortcode and hook it to generate_after_header with a priority of 11 or higher.

This will make the breadcrumb appear after the site header.

The setting looks something like this - https://share.getcloudapp.com/yAukoGKJ

The display rule tab defines what pages do you want the shortcode to display. :D

Already done. Thank you! Never thought it's that easy. :)

No problem. Glad you got it sorted.

Happy new year and have a great one! :D

This archived topic is closed to new replies.