Trying to get the order of my custom query to display by Date created. Is this even possible with this query? Can you do a custom order? thanks for the help
<?php
$faq_cat_terms = get_terms( 'faq-cat' );
foreach ( $faq_cat_terms as $faq_cat ) {
$faq_cat_query = new WP_Query( array(
'orderby' => 'date',
'post_type' => 'faq',
'tax_query' => array(
array(
'taxonomy' => 'faq-cat',
'field' => 'slug',
'terms' => array( $faq_cat->slug ),
'operator' => 'IN'
)
)
) );
?>