Polylang compatibility
-
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.phppublic 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.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Polylang compatibility’ is closed to new replies.