Home › Forums › WoodMart support forum › Need to enable rank math seo breadcrumbs on woodmart child
Need to enable rank math seo breadcrumbs on woodmart child
- This topic has 3 replies, 2 voices, and was last updated 3 months, 2 weeks ago by Hung Pham.
-
AuthorPosts
-
October 1, 2024 at 12:45 am #601470
Apon AhamedParticipantI used Woodmart child theme .and all updated versions of theme and plugins.
I am using Rank math Seo plugin instead of using yeost seo .Woodmart support breadcrumbs for yeost seo which is pretty good.
But i need implement Rank math seo breadcrumbs on my theme (iam using latest woodmart child theme)
Rank math gives a php code for implementation in theme .
Giver code is –
<?php if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs(); ?>
They told it should be go in child theme template .
Tried some many time but can’t find any theme template on my woodmart child theme (WordPress Dashboard → Appearance → Theme File Editor )
My request is –
Please give a proper guide to implement rank math seo plugin breadcrumbs in my woodmart child theme .
(Make sure it should be permanent, should not getting removed after theme update)I attached some screenshots and link to assist you
Attachments:
You must be logged in to view attached files.October 1, 2024 at 1:42 pm #601649
Hung PhamKeymasterHello Apon Ahamed,
Thanks for reaching to us.
On the screenshot is the default theme, not ours. You need to copy that file (of course with the code inside) to the child theme and then define that code from the plugin.
Download our original child theme files here: https://woodmart.xtemos.com/plugins/woodmart-child.zip
Kind Regards
October 3, 2024 at 11:58 am #602198
Apon AhamedParticipantVery unsatisfying reply. I already mentioned that i use woodmart theme and already using and active woodmart child theme at the very beginning.
So your ans is not appropriate.My problem is –
When i go to theme file editor and select woodmart child theme , there is no option like ‘single page template ‘option to implement the Rank math given code
<?php if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs(); ?>
I again request you to provide a guidance to implement rank math breadcrumbs
I again say may woodmart and woodmart child theme is active and in use .
My request is –
Please give a proper guide to implement rank math seo plugin breadcrumbs in my woodmart child theme .Where should rank math code should implement?
(Make sure it should be permanent, should not getting removed after theme update)I attached my active theme file editor picture.
Note – please read carefully before give solutions.
- This reply was modified 3 months, 2 weeks ago by Apon Ahamed.
- This reply was modified 3 months, 2 weeks ago by Apon Ahamed.
Attachments:
You must be logged in to view attached files.October 4, 2024 at 10:12 am #602434
Hung PhamKeymasterHello Apon Ahamed,
Sorry for the inconveniences.
You need to copy the file
woocommerce/global/breadcrumb.php
from the parent theme and add it to the child theme and on line 14 add the following code https://monosnap.com/file/qodfeNwVQpaXb9EEfQiRjQM6M3gAnFKind Regards,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register