Change Theme breadcrumbs to rank math breadcrumbs

#696666
  • Resolved Social Speedline
    Rank Math free

    try to add rankmath breadcrumbs to my theme template files,

    <?php if (function_exists(‘rank_math_the_breadcrumbs’)) rank_math_the_breadcrumbs(); ?>

    But this error is coming please help to fix it

    Your PHP code changes were not applied due to an error on line 0 of file Unknown. Please fix and try saving again.

    Exception thrown without a stack frame

Viewing 1 replies (of 1 total)
  • Hello, we’re sorry to hear that you’re encountering an error when trying to add Rank Math breadcrumbs to your theme template files. It seems like the PHP code you’ve added is causing an issue.

    To resolve this, please ensure that you are adding the PHP code to the correct location in your theme’s template file. Depending on the theme you use, the file where you should add the breadcrumbs function may vary. In most themes, it would be either the single.php file or the header.php file.

    If you’re unable to figure it out, we recommend reaching out to your theme developer for assistance. Alternatively, you can also contact Rank Math’s support team directly and we’re available 24×7 to help you out.

    If you have made changes and are still encountering issues, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.

    Sources:
    How to Make Your Theme Rank Math Compatible » Rank Math
    How to Enable Breadcrumbs on Your Website With Rank Math SEO » Rank Math
    How to Fix “Invalid object type for field ‘item'” » Rank Math

    This is an automated reply from Rank Math Support Bot. If you need further assistance, please reply to this topic and a human support agent will reply to you shortly.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Change Theme breadcrumbs to rank math breadcrumbs’ is closed to new replies.