adding asc to the order_by option when getting the partner cpts
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 21 Nov 2016 17:04:45 +0000 (12:04 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 21 Nov 2016 17:04:45 +0000 (12:04 -0500)
sections/front-page.php

index e45fc36..5a8febf 100644 (file)
@@ -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){