cabrerahector / wordpress-popular-posts

WordPress Popular Posts - A highly customizable WordPress widget that displays your most popular posts.
https://wordpress.org/plugins/wordpress-popular-posts/
GNU General Public License v2.0
280 stars 82 forks source link

Hide articles that do not have translations #286

Closed LevelUpGit closed 3 years ago

LevelUpGit commented 3 years ago

Hi, we are using polylang with your plugin, and it works as excepted, except your plugin is pulling articles that do not have translation in the list along side with those that have translation.

What would be best is that for those articles that do not have translation to not be pulled.

Thank you.

cabrerahector commented 3 years ago

Hi there,

Unfortunately that's not possible. WordPress Popular Posts expects for all posts to have a translation available for the currently active language, otherwise -as you already noticed- the original article will be displayed instead.

This is explicitly mentioned on the Description page of the plugin:

Polylang & WPML 3.2+ support – Show the translated version of your popular posts!

LevelUpGit commented 3 years ago

Thank you for your fast response.