Support » Fixing WordPress » query_posts not erturning whole result

  • abelass



    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


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