Commit 4ea4fc19 authored by root's avatar root

edit forgotten code in members list files

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