loop-search.php 1.2 KB

1234567891011121314151617181920212223
  1. <?php
  2. $category_description = category_description();
  3. if ( ! empty( $category_description ) )
  4. echo '' . $category_description . ''; ?>
  5. <?php while ( have_posts() ) : the_post(); ?>
  6. <h2><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'piratenkleider' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
  7. <p class="pupdateinfo"><?php piratenkleider_post_pubdateinfo(); ?></p>
  8. <p><?php echo get_piratenkleider_custom_excerpt(); ?></p>
  9. <?php wp_link_pages( array( 'before' => '' . __( 'Seiten:', 'piratenkleider' ), 'after' => '' ) ); ?>
  10. <?php endwhile; // End the loop. Whew. ?>
  11. <?php /* Display navigation to next/previous pages when applicable */ ?>
  12. <?php if ( $wp_query->max_num_pages > 1 ) : ?>
  13. <?php next_posts_link( __( '&larr; &Auml;ltere Beitr&auml;ge', 'piratenkleider' ) ); ?>
  14. <?php previous_posts_link( __( 'Neuere Beitr&auml;ge &rarr;', 'piratenkleider' ) ); ?>
  15. <?php endif; ?>