[Plugin: 012 Ps Multi Languages] Language Flag Not Displayed
-
Hi,
I have installed this plugin, it is truly a very simple and easy implementation, however, the language flag is not displaying on top of the screen.
I have added the codes into header.php as you shared. Please review below:
<!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <?php if ( function_exists( 'ps_012_m17n_bread_crumb' ) ) ps_012_m17n_bread_crumb(); ?> <?php if ( function_exists( 'pml_multilingual_list' ) ) pml_multilingual_list(); ?> <title><?php if ( is_category() ) { echo 'Category Archive for "'; single_cat_title(); echo '" | '; bloginfo( 'name' ); } elseif ( is_tag() ) { echo 'Tag Archive for "'; single_tag_title(); echo '" | '; bloginfo( 'name' ); } elseif ( is_archive() ) { wp_title(''); echo ' Archive | '; bloginfo( 'name' ); } elseif ( is_search() ) { echo 'Search for "'.wp_specialchars($s).'" | '; bloginfo( 'name' ); } elseif ( is_home() || is_front_page() ) { bloginfo( 'name' ); echo ' | '; bloginfo( 'description' ); } elseif ( is_404() ) { echo 'Error 404 Not Found | '; bloginfo( 'name' ); } elseif ( is_single() ) { wp_title(''); } else { echo wp_title( ' | ', false, right ); bloginfo( 'name' ); } ?></title>
[Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still – use the pastebin]
Would you mind provide us more clue on how to display the language flag properly?
Thank you in advance.
https://www.ads-software.com/extend/plugins/012-ps-multi-languages/
- The topic ‘[Plugin: 012 Ps Multi Languages] Language Flag Not Displayed’ is closed to new replies.