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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #601470

    Apon Ahamed
    Participant

    I 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.
    #601649

    Hung Pham
    Keymaster

    Hello 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

    #602198

    Apon Ahamed
    Participant

    Very 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.
    #602434

    Hung Pham
    Keymaster

    Hello 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/qodfeNwVQpaXb9EEfQiRjQM6M3gAnF

    Kind Regards,

Viewing 4 posts - 1 through 4 (of 4 total)