communiques page fix
This commit is contained in:
parent
99c236d46c
commit
b390b9039a
|
@ -11,12 +11,11 @@ get_header(); ?>
|
||||||
</section>
|
</section>
|
||||||
-->
|
-->
|
||||||
<?php
|
<?php
|
||||||
// the query
|
|
||||||
// get all posts in category with slug "communiques"
|
|
||||||
|
|
||||||
$wpb_com_query = new WP_Query(array('category_name'=>'communiques', 'post_status'=>'publish', 'posts_per_page'=>-1)); ?>
|
$wpb_com_query = new WP_Query(array('category_name'=>'communiques', 'post_status'=>'publish', 'posts_per_page'=>-1)); ?>
|
||||||
|
|
||||||
<?php while ( $wpb_all_query->have_posts() ) : $wpb_all_query->the_post(); ?>
|
<?php while ( $wpb_com_query->have_posts() ) : $wpb_com_query->the_post(); ?>
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in New Issue