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

  1. marie_mada
    Posted 4 years ago #


    I try to use polylang with the theme instyle of elegant theme
    and everything is ok except the home page :
    french ok
    english : same block in french
    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]


  2. Chouby
    Plugin Author

    Posted 4 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
    Posted 4 years ago #

    Sorry i forgot, this template was in package.

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

  4. Chouby
    Plugin Author

    Posted 4 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

  • Polylang
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic