Display Some Content Based On Site Language
-
I sincerely apologize for this post but I couldn’t find a solution for it.
I created a Theme that I use for a couple of WordPress sites. In all but one, the language is set for Enlish. Spanish is the lonely one. What I want to do is:
if (current langguage is 'es') { echo '---haz algo---' } else { echo '---do something---' } ?>
[Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]
Any help appreciated. Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Display Some Content Based On Site Language’ is closed to new replies.