The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

is_home or is_front_page and sub-directory conditional how?? (1 post)

  1. dotnature
    Posted 5 years ago #

    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 ?

Topic Closed

This topic has been closed to new replies.

About this Topic