-
Good day, I have two questions.
1. How to make breadcrumbs not appear on the homepage.
2. In breadcrumbs, the icon on the main page-
This topic was modified 5 years, 8 months ago by
Oleg.
-
This topic was modified 5 years, 8 months ago by
-
1 point I decided on my own
<? php if (function_exists (‘rank_math_the_breadcrumbs’) &&! is_home () &&! is_front_page ()) rank_math_the_breadcrumbs (); ?>Hello,
Thank you for contacting Rank Math today.
I am glad that you were able to able to fix the first issue. You can modify the HTML of the breadcrumb items by using the following filter:
/** * Filter to change breadcrumb html. * * @param html $html Breadcrumb html. * @param array $crumbs Breadcrumb items * @param class $class Breadcrumb class * @return html $html. */ add_filter( 'rank_math/frontend/breadcrumb/html', function( $html, $crumbs, $class ) { // theme_breadcrumb_function(); return $html; }, 10, 3);Looking forward to helping you. Thank you.
Thank you, and in which place you need to paste the code you specified?
Hello,
It needs to be added to your theme’s index.php file. For the exact instructions, you must consult your theme provider.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
index vs functions.php ?
Thanks. I inserted this code at the end of the functions.php file. And as before, I use it <i class = “fa fa-home” aria-hidden = “true”> </i>
Hello,
Thanks for the reply.
We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
It is completely secure and only our support staff has access to that section. If you want, you can use the below 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 use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Thank you for contacting Rank Math today.
I updated the code in your parent theme index.php. Please confirm if the issue has been fixed on your end.
Looking forward to helping you. Thank you.
Good day, your method does not work. I still can’t use the homepage icon in breadcrumbs.
-
This reply was modified 5 years, 8 months ago by
Oleg.
Hi Oleg,
As much as we would love to offer customized solution to each and every user we have, it just isn’t possible for a small company like ours with limited resources.
You can use your theme’s breadcrumbs if the option offered by Rank Math isn’t customizable enough.
Thanks. I got it. This is the simplest function that all seo plugins have. It is strange why rankmath does not have it.
Hi Oleg,
Thank you for the reply.
We appreciate the feedback and we will be making some improvements to add this option on the UI in future updates.
Please let us know if we can help further. Thank you.
-
This reply was modified 5 years, 8 months ago by
The ticket ‘displaying breadcrumbs icons’ is closed to new replies.