Title: Breadcrumbs doesn&#8217;t work correctly
Last modified: March 16, 2023

---

# Breadcrumbs doesn’t work correctly

 *  Resolved [eddie](https://wordpress.org/support/users/ediet/)
 * (@ediet)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/breadcrumbs-doesnt-work-correctly/)
    1. The Home data from Polylang (WPML) translations is not pulled up. When editing
       breadcrumbs_home_link and breadcrumbs_home_label, translated values of these
       fields are not pulled up. Only what is manually entered in the breadcrumbs plugin
       settings is used. If the values in the plugin’s breadcrumbs settings are left
       blank, then the values on the site will be blank too.
    2. If I turn on the switch not to display the home page, a link to the post page
       with the post’s title is inserted instead.

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

 *  Plugin Support [Rank Math Support](https://wordpress.org/support/users/rankmathteam/)
 * (@rankmathteam)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/breadcrumbs-doesnt-work-correctly/#post-16568202)
 * Hello [@ediet](https://wordpress.org/support/users/ediet/),
 * Thank you for contacting the support.
 * You can use the following filter to fix the translation issue of the homepage
   label in the breadcrumbs:
   `add_filter( 'rank_math/frontend/breadcrumb/items',
   function( $crumbs, $class ) { $home_link = pll_home_url(pll_current_language());
   $crumbs[0][0] = pll__("Home"); $crumbs[0][1] = $home_link; return $crumbs; },
   10, 2);`
 * Here is how to add a filter to your site:
   [https://rankmath.com/kb/wordpress-hooks-actions-filters/](https://rankmath.com/kb/wordpress-hooks-actions-filters/)
 * And we were not able to replicate the second issue on our end. Please check again
   and share the steps to replicate it if it persists on your end.
 * Looking forward to helping you.
 *  Thread Starter [eddie](https://wordpress.org/support/users/ediet/)
 * (@ediet)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/breadcrumbs-doesnt-work-correctly/#post-16571424)
 * Thank you!
   But as far as I can see from the code, this only applies to the language
   homepage url. What about breadcrumbs_home_label?
 *  Thread Starter [eddie](https://wordpress.org/support/users/ediet/)
 * (@ediet)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/breadcrumbs-doesnt-work-correctly/#post-16571429)
 * > You can use the following filter to fix the translation issue of the homepage
   > label in the breadcrumbs:
   > `add_filter( 'rank_math/frontend/breadcrumb/items',
   > function( $crumbs, $class ) { $home_link = pll_home_url(pll_current_language());
   > $crumbs[0][0] = pll__("Home"); $crumbs[0][1] = $home_link; return $crumbs; },
   > 10, 2);`
 * functions.php:
 * > Scrape key check failed. Please try again.
    -  This reply was modified 3 years, 2 months ago by [eddie](https://wordpress.org/support/users/ediet/).
 *  Plugin Support [Rank Math Support](https://wordpress.org/support/users/rankmathteam/)
 * (@rankmathteam)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/breadcrumbs-doesnt-work-correctly/#post-16575207)
 * Hello [@ediet](https://wordpress.org/support/users/ediet/),
 * The filter will translate the Home label into the current language of the page.
 * And the scrape key check failed issue could be coming from a plugin conflict.
   You can use the following guide to figure out which plugin is causing the issue:
   [https://rankmath.com/kb/check-plugin-conflicts/](https://rankmath.com/kb/check-plugin-conflicts/)
 * If the issue persists even when all the plugins are disabled, you should get 
   in touch with your host as they will be in a better position to fix this.
 * Let us know how that goes. Looking forward to helping you.

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

The topic ‘Breadcrumbs doesn’t work correctly’ is closed to new replies.

 * ![](https://ps.w.org/seo-by-rank-math/assets/icon.svg?rev=3438330)
 * [Rank Math SEO – AI SEO Tools to Dominate SEO Rankings](https://wordpress.org/plugins/seo-by-rank-math/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/seo-by-rank-math/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/seo-by-rank-math/)
 * [Active Topics](https://wordpress.org/support/plugin/seo-by-rank-math/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seo-by-rank-math/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seo-by-rank-math/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Rank Math Support](https://wordpress.org/support/users/rankmathteam/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/breadcrumbs-doesnt-work-correctly/#post-16575207)
 * Status: resolved