WordPress.org

Support

Support » How-To and Troubleshooting » query_posts doesn't order by title

query_posts doesn't order by title

  • I’m using thos code, and still posts are ordered by title! why?

    query_posts( array(
        'post_type'      => 'page',
        'posts_per_page' => -1,
        'orderby'        => 'title',
        'order'          => 'ASC'
    ) );
  • The topic ‘query_posts doesn't order by title’ is closed to new replies.
Skip to toolbar