-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathloop-tag.php
45 lines (35 loc) · 1.63 KB
/
loop-tag.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
<div class="section content">
<div class="row">
<div class="content-primary">
<div class="skin">
<h1><?php printf( __( 'Schlagwörterarchiv: %s', 'twentyten' ), '' . single_cat_title( '', false ) . '' ); ?></h1>
<?php
$category_description = category_description();
if ( ! empty( $category_description ) )
echo '' . $category_description . ''; ?>
<?php /* If there are no posts to display, such as an empty archive page */ ?>
<?php if ( ! have_posts() ) : ?>
<h1><?php _e( 'Nicht gefunden', 'twentyten' ); ?></h1>
<p><?php _e( 'Vielleicht hilft eine Suche weiter?', 'twentyten' ); ?></p>
<div class="fullwidth"><?php get_search_form(); ?></div>
<?php endif; ?>
<?php while ( have_posts() ) : the_post(); ?>
<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>
<?php twentyten_posted_on(); ?>
<?php the_excerpt(); ?>
<?php wp_link_pages( array( 'before' => '' . __( 'Seiten:', 'twentyten' ), 'after' => '' ) ); ?>
<?php endwhile; // End the loop. Whew. ?>
<?php /* Display navigation to next/previous pages when applicable */ ?>
<?php if ( $wp_query->max_num_pages > 1 ) : ?>
<?php next_posts_link( __( '← Ältere Beiträge', 'twentyten' ) ); ?>
<?php previous_posts_link( __( 'Neuere Beiträge →', 'twentyten' ) ); ?>
<?php endif; ?>
</div>
</div>
<div class="content-aside">
<div class="skin">
<?php get_sidebar(); ?>
</div>
</div>
</div>
</div>