• Hello, I’m running a website on WP 3.9.1 / Polylang updated – theme “expression” from Pexeto themes
    Plugins:
    Add To Content
    Version 2.0 | By Ephrain Marchan |
    Advanced Browser Check
    Version 3.0.3 | By Mattias Hedman |
    Akismet
    Version 3.0.1 | By Automattic |
    Alpine PhotoTile for Instagram
    Version 1.2.7.2 | By the Alpine Press |
    Contact Form 7
    Version 3.9 | By Takayuki Miyoshi |
    LayerSlider WP
    Version 5.1.1 | By Kreatura Media |
    Polylang
    Version 1.5.3 | By Frédéric Demarle |
    Shareaholic | share buttons, analytics, related content
    Version 7.5.0.2 | By Shareaholic |
    Swarmify (formerly Swarm CDN)
    Version 0.4.0 |
    WordPress SEO
    Version 1.5.4.2 | By Joost de Valk |
    WP-Members
    Version 2.9.4 | By Chad Butler |

    I tried to deactivate all plugins but it doesn’t work.
    It works fine with all default themes.
    I’ve seen other topics similar but cannot fix it

    Permalinks are set to post name, Polylang settings
    The language is set from the directory name in pretty permalinks
    Keep /language/ in pretty permalinks
    The default language is set to english
    Activate languages and translations are activated for custom post types.

    I asked to the Pexeto themes but they suggest not to use this plugin because this plugin uses AJAX, but only for the grid style home page I don’t care of
    Thank you

    https://www.99wild.com

Viewing 1 replies (of 1 total)
  • Thread Starter ViaggioControMano

    (@maxonline)

    This worked for my website – Pexeto Expression Theme WP 3.9.1
    – open the index.php file and delete the following code (starting on line 23):

    query_posts(array(
    ‘category__not_in’ => $excludeCat,
    ‘paged’ => get_query_var(‘paged’),
    ‘posts_per_page’ => get_opt(‘_post_per_page_on_blog’)
    ));

    Now it’s working properly

Viewing 1 replies (of 1 total)
  • The topic ‘Polylang showing posts in both languages’ is closed to new replies.