Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 29 lines (21 sloc) 1.3 kB
9573951 @korbinian first
authored
1 <?php
2 $category_description = category_description();
3 if ( ! empty( $category_description ) )
4 echo '' . $category_description . ''; ?>
5 <?php /* If there are no posts to display, such as an empty archive page */ ?>
6 <?php if ( ! have_posts() ) : ?>
7 <h1><?php _e( 'Nicht gefunden', 'twentyten' ); ?></h1>
8 <p><?php _e( 'Vielleicht hilft eine Suche weiter?', 'twentyten' ); ?></p>
9 <div class="fullwidth"><?php get_search_form(); ?></div>
10 <?php endif; ?>
11
12 <?php while ( have_posts() ) : the_post(); ?>
13
14
15 <h2><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
16 <?php twentyten_posted_on(); ?>
17 <?php the_excerpt(); ?>
18 <?php wp_link_pages( array( 'before' => '' . __( 'Seiten:', 'twentyten' ), 'after' => '' ) ); ?>
19
20
21
22 <?php endwhile; // End the loop. Whew. ?>
23
24 <?php /* Display navigation to next/previous pages when applicable */ ?>
25 <?php if ( $wp_query->max_num_pages > 1 ) : ?>
26 <?php next_posts_link( __( '&larr; Ältere Beiträge', 'twentyten' ) ); ?>
27 <?php previous_posts_link( __( 'Neuere Beiträge &rarr;', 'twentyten' ) ); ?>
28 <?php endif; ?>
Something went wrong with that request. Please try again.