WordPress.org

Ready to get started?Download WordPress

Forums

query_posts not erturning whole result (1 post)

  1. abelass
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic