Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Michel – xiligroup dev

    (@michelwppi)

    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://www.ads-software.com/plugins/xili-postinpost/
    Take time to read his doc…

    M.

    Thread Starter FoxMulder84

    (@foxmulder84)

    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 !!

    Plugin Author Michel – xiligroup dev

    (@michelwppi)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Xili language and last seen posts’ is closed to new replies.