show tagline based on language
-
I have a bilingual worpress site.
I would like the tagline to switch language just like the rest of the template switches languages.
Is there a $message I need no modify in the header?
Has anyone experience<?php $site_description = get_bloginfo( 'description', 'display' ); if ( $site_description ) echo " $site_description"; ?>
and this
<?php $site_description = get_bloginfo( $language, $display ); ?>
but no luck. I’m not a coder, so forgive my ignorance.
What I’m saying is the header does not change according to language as does the rest of the page.
Can I use an if statement, like if lang eq en…?Again I just want the tile and tagline to display in the language of the rest of the page so the website is truly bilingual.
I’m using xi dictionary and qlanguage plugins.
Anybody got an idea?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘show tagline based on language’ is closed to new replies.