WordPress.org

Support

Support » How-To and Troubleshooting » query_posts not erturning whole result

query_posts not erturning whole result

  • abelass
    Member

    @abelass

    Hi,

    I have the following query which should return all the entreprise posts, but it doesn’t. I checkd in the database (posts) and tehre is no diffrence that could explain why some posts aren’t returned.

    query_posts(array('post_type'=>'entreprise','posts_per_page'=>-1,'orderby'=>'title','order' => 'ASC'));

    Anybody an idea

    Thanks
    Rainer

  • The topic ‘query_posts not erturning whole result’ is closed to new replies.