projects
/
WP-Themes
/
universitycenter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc64358
)
adding asc to the order_by option when getting the partner cpts
author
Anthony Talarico
<talarico@gaslightmedia.com>
Mon, 21 Nov 2016 17:04:45 +0000
(12:04 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Mon, 21 Nov 2016 17:04:45 +0000
(12:04 -0500)
sections/front-page.php
patch
|
blob
|
history
diff --git
a/sections/front-page.php
b/sections/front-page.php
index
e45fc36
..
5a8febf
100644
(file)
--- 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){