WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Blog lists all posts (doesn't filter by language)

[Resolved] Blog lists all posts (doesn't filter by language)

  • Hi!

    I’m usig static front page with custom permalinks /%postname%/

    I have three languages installed, three main pages and three empty blog pages for each language. Everything was fine with WP 3.5 and Polylang 0.9.8

    After upgrade to WP 3.5.1 and Polyang 1.0 I see all posts from all languages on every blog page. Everything else works fine (i.e. archive by year).

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chouby
    Participant

    @chouby

    Is your problem happening on the page defined as ‘posts page’ in the Reading settings?

    Could you try to edit the file polylang/include/core.php at line 486 and replace:

    $query->is_singular = $query->is_page = true;

    by

    $query->is_singular = $query->is_page = false;

    Thank you! This works for me.

    And yes, the problem was on the page defined as ‘posts page’ in the Reading settings.

    Will you fix this in next release, or is this a by-design behaviour?

    RavanH
    Participant

    @ravanh

    Yes, seeing this issue too on a clients site… In fact, it was showing all posts and all pages too. I can confirm the fix works 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Blog lists all posts (doesn't filter by language)’ is closed to new replies.