Commit 9ed7da86 authored by Nathan Peraldi's avatar Nathan Peraldi

delete bad wordpress div

parent 0282107c
<?php
//nombre de membres à afficher par ligne
$maxMembersPerLine = 3;
$maxMembersPerLine = 4;
get_header();
?>
<div class="wrap">
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<ul id="adullact-member-list">
<?php
......@@ -25,7 +22,6 @@ get_header();
$order = "asc";
}
}
$args = array('posts_per_page' => 10, 'offset' => 0, 'category_name' => $category, 'orderby' => 'title', 'order' => $order);
$myposts = get_posts($args);
echo "<br>";
......@@ -36,9 +32,7 @@ get_header();
?>
</ul>
<?php
echo "<div class='adullact-members-list'>";
echo "<div class='adullact-line'>";
foreach ($myposts as $post) : setup_postdata($post);
$id = get_the_id();
......@@ -58,14 +52,10 @@ get_header();
echo "</div>";
echo "<div class='adullact-line'>";
}
endforeach;
echo "</div></div>";
wp_reset_postdata(); ?>
</main>
</div>
</div>
<?php get_footer(); ?>
\ No newline at end of file
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