-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpage-archiv.php
56 lines (38 loc) · 1.51 KB
/
page-archiv.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php
/*
Template Name: Archiv
*/
?>
<?php get_header(); ?>
<div id="main" class="ninecol first clearfix" role="main">
<?php while (have_posts()): the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article" itemscope itemtype="http://schema.org/BlogPosting">
<header class="article-header">
<h1 class="page-title" itemprop="headline"><?php the_title(); ?></h1>
</header>
<section class="entry-content clearfix" itemprop="articleBody">
<?php the_content(); ?>
<div class="archiv">
<h2>Die letzten 30 Artikel</h2>
<ul class="archiv-posts">
<?php wp_get_archives('type=postbypost&limit=30'); ?>
</ul>
<h2>Sortiert nach Monaten</h2>
<ul class="archiv-month">
<?php wp_get_archives( array( 'type' => 'monthly')); ?>
</ul>
<h2>Sortiert nach Kategorien</h2>
<ul class="archiv-cats">
<?php wp_list_categories('title_li=&hierarchical=0'); ?>
</ul>
<h2>Sortiert nach Schlagwörtern</h2>
<div class="archiv-tags">
<?php wp_tag_cloud( array( 'separator' => ' / ') ); ?>
</div>
</div>
</section>
</article>
<?php endwhile; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>