Answers for "wordpress query orderby name"

PHP
2

wordpress query orderby name

query_posts( array( 
    'post_type'      => 'page',
    'posts_per_page' => -1,
    'orderby'        => 'title',
    'order'          => 'ASC'
) );
Posted by: Guest on August-05-2020

Browse Popular Code Answers by Language