Polylang support
-
Hi,
This is a nice plugin to show popular posts. I have recently made my blog multilingual by using Polylang plugin. I can see Popular posts plugin support with polylang. I am using below code to show popular posts on my blog.
$argss = array( 'post_html' => '<li class="popular-post"> {thumb} <h5><a href="{url}">{text_title}</a></h5></li> <div class="clearfix"></div>', 'thumbnail_width' => 65, 'thumbnail_height' => 65, 'limit' => 5, 'range' => 'weekly', 'post_status' => 'publish' ); wpp_get_mostpopular( $argss );
May I know how to filter this for both languages? Also if translation not available for one of the popular post, will it show default language or another posts from current language. Let me please know.
Thank you,
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Polylang support’ is closed to new replies.