• rc_90_2000

    (@rc_90_2000)


    I would like to loop the post post__in=”5,7,8,1,6″ and the order is “5,7,8,1,6”.

    but the plugin show the post order just “1,5,6,7,8” or “8,7,6,5,1”.
    is it possible the post order is following the “post__in” ?

    [ajax_load_more post_type=”post” post__in=”5,7,8,1,6″ posts_per_page=”10″ repeater=”template_4″ preloaded=”true” preloaded_amount=”10″ ]

    https://wordpress.org/plugins/ajax-load-more/

Viewing 1 replies (of 1 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Hi there.
    You can use orderby=”post__in” parameter in your shortcode for this.

    Cheers,

Viewing 1 replies (of 1 total)

The topic ‘how to order problem with "post__in"’ is closed to new replies.