Commit daaa61eb authored by root's avatar root

add: files of children categories

parent dd6897bf
<?php
get_header();
?>
<ul>
<?php
childrens_of_member_category();
global $post;
$args = array( 'posts_per_page' => 10, 'offset'=> 0, 'category_name' => 'epci-mutualisant');
$myposts = get_posts( $args );
foreach ( $myposts as $post ) : setup_postdata( $post );
$id = get_the_id();
$url = get_metadata("post",$id,"project_url")[0];
?>
<li>
<a href="<?php echo $url; ?>" target="_blank">
<?php the_post_thumbnail(array("200","200")); ?> <br>
<?php the_title(); ?> <br>
<?php the_tags($before = '');?>
</a>
</li>
<?php endforeach;
wp_reset_postdata();?>
</ul>
<?php
//get_sidebar();
get_footer();
?>
<?php
get_header();
?>
<ul>
<?php
childrens_of_member_category();
global $post;
$args = array( 'posts_per_page' => 10, 'offset'=> 0, 'category_name' => 'ville');
$myposts = get_posts( $args );
foreach ( $myposts as $post ) : setup_postdata( $post );
$id = get_the_id();
$url = get_metadata("post",$id,"project_url")[0];
?>
<li>
<a href="<?php echo $url; ?>" target="_blank">
<?php the_post_thumbnail(array("200","200")); ?> <br>
<?php the_title(); ?> <br>
<?php the_tags($before = '');?>
</a>
</li>
<?php endforeach;
wp_reset_postdata();?>
</ul>
<?php
//get_sidebar();
get_footer();
?>
<?php
get_header();
?>
<ul>
<?php
childrens_of_member_category();
global $post;
$args = array( 'posts_per_page' => 10, 'offset'=> 0, 'category_name' => 'association');
$myposts = get_posts( $args );
foreach ( $myposts as $post ) : setup_postdata( $post );
$id = get_the_id();
$url = get_metadata("post",$id,"project_url")[0];
?>
<li>
<a href="<?php echo $url; ?>" target="_blank">
<?php the_post_thumbnail(array("200","200")); ?> <br>
<?php the_title(); ?> <br>
<?php the_tags($before = '');?>
</a>
</li>
<?php endforeach;
wp_reset_postdata();?>
</ul>
<?php
//get_sidebar();
get_footer();
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment