A clone of https://github.com/kre8tiv/Joseph-knows-best with community improvements.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.6 KiB

Template Name: Archiv
<?php get_header(); ?>
<section id="content"><div class="inner wrap clearfix">
<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" >
<header class="article-header">
<h1 class="page-title" itemprop="headline"><?php the_title(); ?><span class="hidden"><?php if( is_paged() ) { echo ' - Seite ' .$paged; }?></span></h1>
<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'); ?>
<h2>Sortiert nach Monaten</h2>
<ul class="archiv-month">
<?php wp_get_archives( array( 'type' => 'monthly')); ?>
<h2>Sortiert nach Kategorien</h2>
<ul class="archiv-cats">
<?php wp_list_categories('title_li=&hierarchical=0'); ?>
<h2>Sortiert nach Schlagwörtern</h2>
<div class="archiv-tags">
<?php wp_tag_cloud( array( 'separator' => ' / ') ); ?>
<?php endwhile; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>