I have a multilingual theme with an image slider that shows only on the home page.
It is using the is_home (is_front_page works too) to display the slider.
But my site is multilingual with languages in a sub-directory url created dynamically. So for instance the French home page is
How can is tell word-press to use a conditional like “is_home” and a sub directory as well for /fr ?
- The topic ‘is_home or is_front_page and sub-directory conditional how??’ is closed to new replies.