Explorar el Código

Removed Alphabetical order for partners

Moritz Schmidt hace 9 años
padre
commit
f2481f62bb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      index.php

+ 1 - 1
index.php

@@ -127,7 +127,7 @@
 
           } else if(get_post_meta(get_the_ID(), 'ams_partners', true)) { // Partner
 
-            $partnerQuery = new WP_Query( array( 'post_type' => 'partners', 'orderby' => 'title', 'order' => 'ASC' ) );
+            $partnerQuery = new WP_Query( array( 'post_type' => 'partners', 'order' => 'ASC' ) );
             if($partnerQuery->have_posts()) { ?>
               <div id="post-<?php the_ID(); ?>" class="content-wrapper">
                 <div class="relcontainer">