Hello,
Thank you for contacting Rank Math support and we apologize for the inconvenience.
The Breadcrumb PHP code usually goes in the single.php or header.php file but some themes are unique and the code would need to go somewhere else. Please confirm that this is the code you are adding:
<?php if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs(); ?>
If it is, then you would need to reach out to your theme developers to confirm where to place the code for it to work.
Regards,
Hi, thanks for responding. Yes that is the code I would like to add.
I have tried the single.php & the header.php, but it didn’t work.
Maybe I put it in the wrong place in the other code? My coding knowledge is almost zero, so it could have easily been my own wrongdoing.
Thanks!
Hello,
To help you investigate this issue, we might need to take a closer look at your website and settings. Please follow these steps:
- Edit the first post on this ticket and include your WordPress and FTP logins in the Sensitive Data section. This is a secure section that only our support staff can access.

- Make sure you take a complete backup of your website before sharing the information with us.
- If you prefer, you can use this plugin to generate a temporary login URL to your website and share that with us instead: https://wordpress.org/plugins/temporary-login-without-password/
- You can also use this plugin to monitor what changes our staff might make on your website (if any): https://wordpress.org/plugins/wp-security-audit-log/
We appreciate your cooperation and patience. Thank you for choosing Rank Math.
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.