nested properly and tagged class for search view of custom post types
This commit is contained in:
parent
422b62edf2
commit
ed9cb8d92a
|
@ -44,7 +44,6 @@ get_header();
|
||||||
<?php } //end if is_plugin_active ?>
|
<?php } //end if is_plugin_active ?>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
<content class="archive-posts <?php xarxaprod_class_posttype(); ?>">
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// https://support.advancedcustomfields.com/forums/topic/wp_query-using-meta_query-for-an-acf-checkbox-field/#post-145830
|
// https://support.advancedcustomfields.com/forums/topic/wp_query-using-meta_query-for-an-acf-checkbox-field/#post-145830
|
||||||
|
@ -59,15 +58,16 @@ get_header();
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
<?php if ( $the_query_associat->have_posts() ) : ?>
|
<?php if ( $the_query_associat->have_posts() ) : ?>
|
||||||
|
<content class="archive-posts archive-xarxaprod-members archive-xarxaprod-associats <?php //xarxaprod_class_posttype(); ?>">
|
||||||
<?php while ( $the_query_associat->have_posts() ) : $the_query_associat->the_post(); ?>
|
<?php while ( $the_query_associat->have_posts() ) : $the_query_associat->the_post(); ?>
|
||||||
|
|
||||||
<?php get_template_part( 'template-parts/section', 'eachpost' ); ?>
|
<?php get_template_part( 'template-parts/section', 'eachmember' ); ?>
|
||||||
|
|
||||||
<?php endwhile;//end of the loop ?>
|
<?php endwhile;//end of the loop ?>
|
||||||
<?php wp_reset_postdata(); ?>
|
<?php wp_reset_postdata(); ?>
|
||||||
|
</content>
|
||||||
<?php endif; //end query associat ?>
|
<?php endif; //end query associat ?>
|
||||||
|
|
||||||
</content>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</main><!-- #main -->
|
</main><!-- #main -->
|
||||||
|
|
|
@ -43,7 +43,6 @@ get_header();
|
||||||
<?php } //end if is_plugin_active ?>
|
<?php } //end if is_plugin_active ?>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
<content class="archive-posts <?php xarxaprod_class_posttype(); ?>">
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// https://support.advancedcustomfields.com/forums/topic/wp_query-using-meta_query-for-an-acf-checkbox-field/#post-145830
|
// https://support.advancedcustomfields.com/forums/topic/wp_query-using-meta_query-for-an-acf-checkbox-field/#post-145830
|
||||||
|
@ -58,15 +57,16 @@ get_header();
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
<?php if ( $the_query_convo->have_posts() ) : ?>
|
<?php if ( $the_query_convo->have_posts() ) : ?>
|
||||||
|
<content class="archive-posts archive-xarxaprod-convo <?php //xarxaprod_class_posttype(); ?>">
|
||||||
<?php while ( $the_query_convo->have_posts() ) : $the_query_convo->the_post(); ?>
|
<?php while ( $the_query_convo->have_posts() ) : $the_query_convo->the_post(); ?>
|
||||||
|
|
||||||
<?php get_template_part( 'template-parts/section', 'eachpost' ); ?>
|
<?php get_template_part( 'template-parts/section', 'eachconvo' ); ?>
|
||||||
|
|
||||||
<?php endwhile;//end of the loop ?>
|
<?php endwhile;//end of the loop ?>
|
||||||
<?php wp_reset_postdata(); ?>
|
<?php wp_reset_postdata(); ?>
|
||||||
|
</content>
|
||||||
<?php endif; //end query convo ?>
|
<?php endif; //end query convo ?>
|
||||||
|
|
||||||
</content>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</main><!-- #main -->
|
</main><!-- #main -->
|
||||||
|
|
|
@ -44,7 +44,6 @@ get_header();
|
||||||
<?php } //end if is_plugin_active ?>
|
<?php } //end if is_plugin_active ?>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
<content class="archive-posts <?php xarxaprod_class_posttype(); ?>">
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// https://support.advancedcustomfields.com/forums/topic/wp_query-using-meta_query-for-an-acf-checkbox-field/#post-145830
|
// https://support.advancedcustomfields.com/forums/topic/wp_query-using-meta_query-for-an-acf-checkbox-field/#post-145830
|
||||||
|
@ -59,15 +58,16 @@ get_header();
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
<?php if ( $the_query_ajut->have_posts() ) : ?>
|
<?php if ( $the_query_ajut->have_posts() ) : ?>
|
||||||
|
<content class="archive-posts archive-xarxaprod-fund archive-xarxapdor-ajut <?php //xarxaprod_class_posttype(); ?>">
|
||||||
<?php while ( $the_query_ajut->have_posts() ) : $the_query_ajut->the_post(); ?>
|
<?php while ( $the_query_ajut->have_posts() ) : $the_query_ajut->the_post(); ?>
|
||||||
|
|
||||||
<?php get_template_part( 'template-parts/section', 'eachpost' ); ?>
|
<?php get_template_part( 'template-parts/section', 'eachfund' ); ?>
|
||||||
|
|
||||||
<?php endwhile;//end of the loop ?>
|
<?php endwhile;//end of the loop ?>
|
||||||
<?php wp_reset_postdata(); ?>
|
<?php wp_reset_postdata(); ?>
|
||||||
|
</content>
|
||||||
<?php endif; //end query ajut ?>
|
<?php endif; //end query ajut ?>
|
||||||
|
|
||||||
</content>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</main><!-- #main -->
|
</main><!-- #main -->
|
||||||
|
|
Loading…
Reference in New Issue