+
+
+
+ 'faq_category',
+ 'orderby' => 'name',
+ 'order' => 'ASC'
+ ) );
+
+ if ( ! empty( $categories ) && ! is_wp_error( $categories ) ) : ?>
+
+
+
+
+
+
+ 'faq',
+ 'posts_per_page' => -1,
+ 'tax_query' => array(
+ array(
+ 'taxonomy' => 'faq_category',
+ 'field' => 'slug',
+ 'terms' => $category->slug,
+ ),
+ ),
+ 'orderby' => 'menu_order',
+ 'order' => 'ASC',
+ ) );
+
+ if ( $faqs->have_posts() ) : ?>
+
+ have_posts() ) : $faqs->the_post(); ?>
+
+
+
+
+
+
+
+
+
+