WordPress.org

Support

Support » How-To and Troubleshooting » Choose languange from home.php then go to index.php

Choose languange from home.php then go to index.php

  • Hello everyone,

    I have a website where i need visitors to choose a language before they enter the site.

    So i need a page before index.php.

    I read somewhere that WordPress runs, if available, home.php before index.php.

    Is there a way to have visitors choose a language on this home.php page? by clicking a country-flag or something and then load index.php with a variable that came from home.php which changes the site’s language (menu’s and content) according to the selected language?

    Any help much appreciated!

    Best Regards.

  • The topic ‘Choose languange from home.php then go to index.php’ is closed to new replies.