[OFFER ALERT!] This Halloween, Get Any Premium Theme for Just $19 [GET IT NOW]
Jump to content

[Rank Math SEO Plugin] How to place the breadcumb into Divi Theme


desmondng528
 Share

Recommended Posts

  • Support

Hello,

Thank you for contacting MyThemeShop today.

You can use Divi's et_before_main_content hook to add breadcrumb before the content. Try adding below code to your theme's functions.php file:

function rm_breadcrumb_handler() {
    if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs();
}
add_action('et_before_main_content', 'rm_breadcrumb_handler');

Hope that helps. Thank you.


🏁Rank #1 on Google With our WordPress SEO Plugin.

Score a 💯on PageSpeed and Dominate Search Rankings.

✏ Editing theme files? Please create a child theme to make your changes update-proof.

Link to comment
Share on other sites

  • Support

Hello,

Can you please ask the Divi's support on where to put the code we provided as we might not have the latest version of the theme with us?

Looking forward to helping you. Thank you.


🏁Rank #1 on Google With our WordPress SEO Plugin

Score a 💯on PageSpeed and Dominate Search Rankings.

✏ Editing theme files? Please create a child theme to make your changes update-proof.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...