Commit 82f4355c authored by Matthieu FAURE's avatar Matthieu FAURE

Merge branch '29-pied-de-page' into 'master'

Resolve "Pied de page"

Closes #29

See merge request !18
parents 4980448e 81e0685d
</div><!-- #content -->
<footer id="colophon" class="site-footer" role="contentinfo">
<div id="adullact-footer" class="wrap">
<ul>
<li><?php get_adullact_page("mentions-legales")?></li>
<li><?php get_adullact_page("accessibilite")?></li>
<li><?php get_adullact_page("contact")?></li>
<li><?php get_adullact_page("plan-du-site")?></li>
</ul>
<p id="adullact-contact-informations">
Association ADULLACT, 5 Rue du Plan du Palais, 34000 Montpellier<br>
contact AROBASE adullact.org<br>
04 67 65 05 88
</p>
</div><!-- .wrap -->
</footer><!-- #colophon -->
</div><!-- .site-content-contain -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>
......@@ -366,7 +366,7 @@ get_header();
</p>
<div id="link">
<a href="contact.php" id="linkRedirection">Texte</a>
<a href="formulaire-adhesion.php" id="linkRedirection">Texte</a>
</div>
<div id="formulaireEPCIMutualisant">
......
......@@ -8,6 +8,20 @@ function my_theme_enqueue_styles()
$debug_functions = false;
function get_adullact_page($slug,$class="")
{
$args = array(
"post_type" => "page",
"orderby" => "title",
"name" => "$slug",
"posts_per_page" => -1);
$page = get_posts($args)[0];
//var_dump($page);
$result = "<a href='" . $page->guid . "' class='" . $class . "'>" . $page->post_title . "</a>";
echo $result;
}
function echo_debug($words)
{
//si mode debug activé, on affiche les informations demandées
......@@ -74,7 +88,7 @@ function childrens_of_member_category($category_to_select)
}
}
function sort_page($order, $page,$link)
function sort_page($order, $page, $link)
{
$for_asc_link = $link . "?page=" . $page . "&order=asc";
$for_desc_link = $link . "?page=" . $page . "&order=desc";
......
......@@ -270,10 +270,9 @@
text-align: justify;
}
article .entry-footer
{
border-top:none;
margin-top:0;
article .entry-footer {
border-top: none;
margin-top: 0;
}
/*
......@@ -285,7 +284,25 @@ que comme cela
float: none;
}
.entry-header a{
padding:3px;
padding-right:6px;
.entry-header a {
padding: 3px;
padding-right: 6px;
}
/*************************************************************/
/*footer*/
/*************************************************************/
#adullact-footer ul {
list-style: none;
display: flex;
}
#adullact-footer li {
padding-left: 7px;
padding-right: 7px;
}
#adullact-contact-informations {
text-align:center;
padding:7px;
}
\ 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