How to use conditional clause on homepage
-
Hi,
I want to add a conditional clause so if the homepage is a certain language than a certain text will show.
There are parts of my theme that are set using the customiser. The text you enter isn’t attributed to any pages or posts, so I wanted to add an if clause so if it is x language it says ‘XXX’ and if it is y language it says ‘yyy’ or else it can just show whatever was set in customise.
Any help would be appreciated.
Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to use conditional clause on homepage’ is closed to new replies.