WordPress.org

Ready to get started?Download WordPress

Forums

Polylang
Lang doens't switch on the home page (4 posts)

  1. marie_mada
    Member
    Posted 2 years ago #

    Hello

    I try to use polylang with the theme instyle of elegant theme
    and everything is ok except the home page :
    french ok
    http://www.lelibertalia.com/fr/
    english : same block in french
    http://www.lelibertalia.com/en/
    :-(
    here is the template home.php, i tried to change the query post to call only the 3 english page
    <?php query_posts('p=389,391,304');
    but it doesn't work.
    If somebody can fix it : THANK YOU :-)

    [133 lines of code moderated as per the Forum Rules. Please use the pastebin]

    http://wordpress.org/extend/plugins/polylang/

  2. Chouby
    Member
    Plugin Author

    Posted 2 years ago #

    Instyle is not free to download so I can't access the code to help you. Please check the license before posting the code on the Internet. You may not be allowed to redistribute it.

  3. marie_mada
    Member
    Posted 2 years ago #

    Sorry i forgot, this template was in package.

    thank's i 'll try to find a another way :-)

  4. Chouby
    Member
    Plugin Author

    Posted 2 years ago #

    I don't know for Instyle. For some Premium themes I have seen, the PHP code is free and only the CSS and the pictures are on a proprietary license. So check this. If the PHP code is licensed under GPL or something similar, then it is ok to use pastebin and post a link here.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags