parent
85034163a7
commit
6632203fdf
1 changed files with 5 additions and 8 deletions
|
@ -1,12 +1,9 @@
|
||||||
<div class="card card-primary">
|
<div class="card card-primary">
|
||||||
<div class="card-header"><i class="fa fa-folder"></i> Archives</div>
|
<div class="card-header"><i class="fa fa-folder"></i> Archives</div>
|
||||||
<div class="card-menu">
|
<div class="card-body">
|
||||||
<?php
|
<select class="card-select" name="archive-dropdown" onChange='document.location.href=this.options[this.selectedIndex].value;'>
|
||||||
wp_get_archives( array(
|
<option value=""><?php echo attribute_escape(__('Selection d\'une année…')); ?></option>
|
||||||
'type' => 'yearly',
|
<?php wp_get_archives('type=yearly&format=option&show_post_count=1'); ?>
|
||||||
'echo' => 1,
|
</select>
|
||||||
'order'=> 'ASC'
|
|
||||||
) );
|
|
||||||
?>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in a new issue