Thanks for your question,
Most of the widgets “latest posts” are not filterable to sub-select according current language. xili-language includes his own “latest posts” (xili prefix in widgets settings screen).
If you need more precise query, I invite you to test the xili-postinpost plugin : https://wordpress.org/plugins/xili-postinpost/
Take time to read his doc…
M.
Hello,
thanks for the quick reply !
I’ve installed postipost and it works great.
I’ve only one question: I have followed the docs for the queries and I’m using this query to display the post I need:
<?php echo do_shortcode(‘[xilipostinpost query=”showposts=4&meta_key=views&orderby=meta_value_num&order=DESC” lang=”cur”]’);?>
It seeems to display only two post but they’re not ordered by meta key views.
What is wrong ?
Thank you !!
Need deeper investigations, but I have read that some issues occur with meta sorting.
For shortcode, if you read authorized parameters, you will see that showposts param is a shortcode param and so must be outside query content.
M.