[Plugin: Custom Content Type Manager] Sort Post Not Working (1 post)

  1. ryo99
    Posted 4 years ago #

    Hi everyone,

    I have interesting problem here, it's about the sort function of get_posts().

    Here's the situation:

    1. If i use the initiate GetPostsQuery(), then later i use the get_posts() function, the sort function won't work, but if..

    2. i skip the GetPostsQuery(), i just use the get_posts() function, then i use the get_post_complete('ID'), the sort function works perfectly!

    So what's the problem here? I need the sort function and later the pagination function.

    Another interesting problem is that i can't use the paginate without GetPostsQuery() initiated first, so i got stuck here.

    Any suggestion?


Topic Closed

This topic has been closed to new replies.

About this Topic