Commit 4ea4fc19 authored by root's avatar root

edit forgotten code in members list files

parent daaa61eb
<?php <?php
get_header(); get_header();
?> ?>
<ul> <ul>
<?php <?php
$order="asc";
childrens_of_member_category();
childrens_of_member_category(); if (isset($_GET["order"])){
$order = $_GET["order"];
global $post; if ($order!="asc" && $order != "desc"){
$args = array( 'posts_per_page' => 10, 'offset'=> 0, 'category_name' => 'epci-mutualisant'); $order="asc";
}
}
$myposts = get_posts( $args ); global $post;
foreach ( $myposts as $post ) : setup_postdata( $post ); $args = array('posts_per_page' => 10, 'offset' => 0, 'category_name' => 'epci-mutualisant', 'orderby' => 'title', 'order' => $order);
$id = get_the_id();
$url = get_metadata("post",$id,"project_url")[0]; ?>
?>
<li> <?php
//echo "url : " . $_SERVER['REQUEST_URI'];
$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"> <a href="<?php echo $url; ?>" target="_blank">
<?php the_post_thumbnail(array("200","200")); ?> <br> <?php the_post_thumbnail(array("200", "200")); ?> <br>
<?php the_title(); ?> <br> <?php the_title(); ?> <br>
<?php the_tags($before = '');?> <?php the_tags($before = ''); ?>
</a> </a>
</li> </li>
<?php endforeach; <?php endforeach;
wp_reset_postdata();?> wp_reset_postdata(); ?>
</ul> </ul>
......
<?php <?php
get_header(); get_header();
?> ?>
<ul> <ul>
<?php <?php
$order="asc";
childrens_of_member_category();
childrens_of_member_category(); if (isset($_GET["order"])){
$order = $_GET["order"];
global $post; if ($order!="asc" && $order != "desc"){
$args = array( 'posts_per_page' => 10, 'offset'=> 0, 'category_name' => 'ville'); $order="asc";
}
}
$myposts = get_posts( $args ); global $post;
foreach ( $myposts as $post ) : setup_postdata( $post ); $args = array('posts_per_page' => 10, 'offset' => 0, 'category_name' => 'ville', 'orderby' => 'title', 'order' => $order);
$id = get_the_id();
$url = get_metadata("post",$id,"project_url")[0]; ?>
?>
<li> <?php
//echo "url : " . $_SERVER['REQUEST_URI'];
$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"> <a href="<?php echo $url; ?>" target="_blank">
<?php the_post_thumbnail(array("200","200")); ?> <br> <?php the_post_thumbnail(array("200", "200")); ?> <br>
<?php the_title(); ?> <br> <?php the_title(); ?> <br>
<?php the_tags($before = '');?> <?php the_tags($before = ''); ?>
</a> </a>
</li> </li>
<?php endforeach; <?php endforeach;
wp_reset_postdata();?> wp_reset_postdata(); ?>
</ul> </ul>
......
<?php <?php
get_header(); get_header();
?> ?>
<ul> <ul>
<?php <?php
$order="asc";
childrens_of_member_category();
childrens_of_member_category(); if (isset($_GET["order"])){
$order = $_GET["order"];
global $post; if ($order!="asc" && $order != "desc"){
$args = array( 'posts_per_page' => 10, 'offset'=> 0, 'category_name' => 'association'); $order="asc";
}
}
$myposts = get_posts( $args ); global $post;
foreach ( $myposts as $post ) : setup_postdata( $post ); $args = array('posts_per_page' => 10, 'offset' => 0, 'category_name' => 'association', 'orderby' => 'title', 'order' => $order);
$id = get_the_id();
$url = get_metadata("post",$id,"project_url")[0]; ?>
?>
<li> <?php
//echo "url : " . $_SERVER['REQUEST_URI'];
$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"> <a href="<?php echo $url; ?>" target="_blank">
<?php the_post_thumbnail(array("200","200")); ?> <br> <?php the_post_thumbnail(array("200", "200")); ?> <br>
<?php the_title(); ?> <br> <?php the_title(); ?> <br>
<?php the_tags($before = '');?> <?php the_tags($before = ''); ?>
</a> </a>
</li> </li>
<?php endforeach; <?php endforeach;
wp_reset_postdata();?> wp_reset_postdata(); ?>
</ul> </ul>
......
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