From: Anthony Talarico Date: Mon, 21 Nov 2016 17:04:45 +0000 (-0500) Subject: adding asc to the order_by option when getting the partner cpts X-Git-Tag: v1.0.0^2~39 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=03aaa8002226377a230e156faf0dd9e30a7fb11f;p=WP-Themes%2Funiversitycenter.git adding asc to the order_by option when getting the partner cpts --- diff --git a/sections/front-page.php b/sections/front-page.php index e45fc36..5a8febf 100644 --- a/sections/front-page.php +++ b/sections/front-page.php @@ -55,7 +55,8 @@ 'post_type' => 'partners', 'post_status' => 'publish', 'posts_per_page' => -1, - 'orderby' => 'menu_order' + 'orderby' => 'menu_order post_title', + 'order' => 'asc' ); $partners = get_posts($args); foreach($partners as $partner){