Polylang compatibility | WordPress.org

Since there ist still a missing compatibilty between the plugin and multilanguage tools such as polylang, here a quickfix for it:

Put the “custom code” section into this file:
wp-content/plugins/flexy-breadcrumb/includes/class-flexy-breadcrumb-trail.php

public function fbc_home_template() { [...]

/*START CUSTOM CODE*/
if(function_exists('pll_the_languages')) {
    $fbc_front_text = pll__('Startseite');
}
/*END CUSTOM CODE*/
echo esc_attr($fbc_front_text);

You still have to register the string with:

add_action('init', function () {
    $string = "Startseite";
    pll_register_string("Startseite", $string);
}); 

Hope this will be fixed in an update. @team: feel free to use this.

  • This topic was modified 2 hours, 49 minutes ago by gildner.
  • This topic was modified 2 hours, 49 minutes ago by gildner.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer