Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (26 sloc) 1.02 KB
<?php if ($link = get_previous_posts_link()): ?>
<div class="span5 navigation" id="previous-page">
<div class="article nav-link"><?php echo $link ?></div>
</div>
<?php endif ?>
<?php if ($link = get_next_posts_link()): ?>
<div class="span5 navigation" id="previous-page">
<div class="article nav-link"><?php echo $link ?></div>
</div>
<?php endif ?>
<div class="span5 navigation" id="nav-links">
<div class="article">
<header>Et sinon ?</header>
<div class="content">
<form action="/" method="get">
<div class="input-append">
<input type="search" name="s" value="<?php the_search_query()?>" class="input-large" placeholder="..." required><button type="submit" class="btn">Chercher</button>
</div>
</form>
<ul class="inline-list">
<li class="heading">Ou enfin, les articles par année :</li>
<?php wp_get_archives(array('type' => 'yearly')) ?>
</ul>
</div>
</div>
</div>