Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wordpress query orderby name

query_posts( array( 
    'post_type'      => 'page',
    'posts_per_page' => -1,
    'orderby'        => 'title',
    'order'          => 'ASC'
) );
Source by wordpress.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #wordpress #query #orderby
ADD COMMENT
Topic
Name
9+7 =