Conversation
review · 5 starsThank you for an amazing plugin, works great! Please add the polylang integration, It will be great for sites with multi-languages
@mosmictz Thanks your review ! Multilingualization is possible using filters. Add the following code to your child theme’s function.php For example: Change the text to be displayed in the fifth column when the language is Italian. For the filter, use fbm_column_value_ . It will end with the value of the column. /** ================================================== * Column values filter for Fixed Bottom Menu * * fbm_column_value_ * @param array $column_value column_value. */ function fixed_bottom_menu_column_value_5( $column_value ) { $locale = get_locale(); if ( 'it_IT' == $locale ) { $column_value['text'] = 'Indirizzo'; } return $column_value; } add_filter( 'fbm_column_value_5', 'fixed_bottom_menu_column_value_5', 10, 1 );
@mosmictz Thanks your review ! Multilingualization is possible using filters. Add the following code to your child theme’s function.php For example: Change the text to be displayed in the fifth column when the language is Italian. For the filter, use fbm_column_value_ . It will end with the value of the column. /** ================================================== * Column values filter for Fixed Bottom Menu * * fbm_column_value_ * @param array $column_value column_value. */ function fixed_bottom_menu_column_value_5( $column_value ) { $locale = get_locale(); if ( 'it_IT' == $locale ) { $column_value['text'] = 'Indirizzo'; } return $column_value; } add_filter( 'fbm_column_value_5', 'fixed_bottom_menu_column_value_5', 10, 1 );