order FAQS by date publish, newer first
This commit is contained in:
parent
b2d7bae117
commit
b6fd88179c
|
@ -54,7 +54,9 @@ get_header();
|
||||||
array(
|
array(
|
||||||
'post_type' => 'post',
|
'post_type' => 'post',
|
||||||
'category_name' => 'faq',
|
'category_name' => 'faq',
|
||||||
'post_per_page' => '8'
|
'post_per_page' => '-1',
|
||||||
|
'orderby' => 'date',
|
||||||
|
'order' => 'DESC',
|
||||||
) );
|
) );
|
||||||
?>
|
?>
|
||||||
<?php if ( $the_query_faq->have_posts() ) : ?>
|
<?php if ( $the_query_faq->have_posts() ) : ?>
|
||||||
|
|
Loading…
Reference in New Issue