• 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?

    http://ww.wp.xz.cn/extend/plugins/custom-content-type-manager/

The topic ‘[Plugin: Custom Content Type Manager] Sort Post Not Working’ is closed to new replies.