No results in secondary language
-
Hi
The plugin is working great so far on the primary language, now after enbabling the second language, it does not show any posts there.
Polylang is being used on the site. Translated posts do exist.
Currently used code on the page is
$args = array( 'post_type' => 'post', 'cat' => implode(',', $sub_cat_list), 'order_by' => 'views', 'range' => 'last30days', 'limit' => '5', 'pid' => implode(', ', $sticky_posts), 'post_html' => '<li><a class="popular-post" href="{url}">{text_title}</a></li>' ); wpp_get_mostpopular($args);
I even tried to add lang variable like
'lang' => pll_current_language('slug')
Is there something im missing here?
Thanks and KR
M
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘No results in secondary language’ is closed to new replies.