edited how to show faqs and its labels
This commit is contained in:
parent
39ff8f321f
commit
42927ccbf9
|
@ -42,7 +42,10 @@ get_header();
|
|||
endif;
|
||||
?>
|
||||
|
||||
<?php //if( in_category('faq') ) : ?>
|
||||
<?php ofisuport_display_faqs_labels(); ?>
|
||||
<?php //endif; //end if is_category faq ?>
|
||||
|
||||
<content class="archive-posts <?php ofisuport_class_posttype(); ?>">
|
||||
<?php
|
||||
// https://developer.wordpress.org/reference/functions/get_posts/
|
||||
|
@ -51,7 +54,7 @@ get_header();
|
|||
$the_query_faq = new WP_Query(
|
||||
array(
|
||||
'post_type' => 'post',
|
||||
'category' => 'faq',
|
||||
'category_name' => 'faq',
|
||||
'post_per_page' => '8'
|
||||
) );
|
||||
?>
|
||||
|
|
|
@ -36,7 +36,9 @@
|
|||
</ul>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if( get_field('os_fund_call') ): ?>
|
||||
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_call') ); ?>
|
||||
<?php endif; ?>
|
||||
</aside>
|
||||
<nav class="more-link">
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" rel="bookmark" class="button button-more">
|
||||
|
|
Loading…
Reference in New Issue