order FAQS by date publish, newer first

This commit is contained in:
jorge 2024-04-19 22:38:08 +02:00
parent b2d7bae117
commit b6fd88179c
1 changed files with 3 additions and 1 deletions

View File

@ -54,7 +54,9 @@ get_header();
array(
'post_type' => 'post',
'category_name' => 'faq',
'post_per_page' => '8'
'post_per_page' => '-1',
'orderby' => 'date',
'order' => 'DESC',
) );
?>
<?php if ( $the_query_faq->have_posts() ) : ?>