• Hello.

    First of all, thank you for this plugin.
    I really like the smooth and easy it interact with wordpress.

    I’ve come to a issue (bug ?) using it on a multilingual site.
    I’am using the WPML plugin to manage my translations.

    Let’s say that I have 1 post in in french and a second one in english (which is the translation of the 1st post).

    The “and the winner” functionnality is activated on both post but in the administration page (which is in french also), only the french post appeared on the plugin table.

    I found out that it was due to the use of the query_posts() method.

    The SQL query made by this method add a ‘JOIN’ to the WPML translation table and an ‘active language’ parameter is included.
    So I was only able to see the only post corresponding to the active langage (french).

    I made a change in ‘admin-pages/contests.php’ page using get_posts() method instead of query_posts().
    And as far as I’am concerned, it worked.

    Maybe you should add this little modification on future version of your plugin.

    Until then, thanks again for this wonderful tool.

    http://wordpress.org/extend/plugins/and-the-winner-is/

Viewing 1 replies (of 1 total)
  • Plugin Author spencersokol

    (@spencersokol)

    Thanks, I’m glad you like it. I’ve put a new version out to add pagination and search by post title. I changed from query_posts to a custom query, which *should* fix the issue you mentioned, but I admit I didn’t test for the specific scenario.

    Let me know if it’s still a problem and I can tweak the query.

    Also, thanks for all your research into this.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: And The Winner Is…] Plugin won't get all posts in multilingual site’ is closed to new replies.