WordPress.org

Forums

Choose languange from home.php then go to index.php (1 post)

  1. ribka41
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.