• Resolved gildner

    (@gildner)


    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 years, 2 months ago by gildner.
    • This topic was modified 2 years, 2 months ago by gildner.
Viewing 1 replies (of 1 total)
  • Hi @gildner,

    Thanks for your contribution.

    We really appreciate it and will consider including this functionality to enhance the Flexy Breadcrumb experience.

    Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Polylang compatibility’ is closed to new replies.