84 lines
2.9 KiB
PHP
84 lines
2.9 KiB
PHP
<?php get_header(); ?>
|
|
|
|
<div id="main">
|
|
<div id="content" class="resultats">
|
|
|
|
<div id="pagina" class="shadow">
|
|
|
|
|
|
|
|
<?php if ( have_posts() ) : ?>
|
|
<h2 class="archive"><?php
|
|
printf( __( 'Tag Archives: %s', 'hangar' ), '' . single_tag_title( '', false ) . '' );
|
|
?></h2>
|
|
|
|
<?php // get_template_part( 'loop' ); ?>
|
|
|
|
<?php while ( have_posts() ) : the_post(); ?>
|
|
|
|
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
<h3><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'hangar' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h3>
|
|
|
|
<?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?>
|
|
<?php the_excerpt(); ?>
|
|
<p class="meta"><span><?php _e( 'Published on: ', 'hangar' ); the_time('d. F Y') ?> <?php _e( 'by', 'hangar' ); ?> <?php the_author() ?></span><br/>
|
|
<?php else : ?>
|
|
<?php the_content( __( 'Continue Reading →', 'hangar' ) ); ?>
|
|
<div class="clear"></div>
|
|
|
|
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'hangar' ), 'after' => '</div>' ) ); ?>
|
|
|
|
<p class="meta"><span><?php the_time('d. F Y') ?> <?php _e( 'by', 'hangar' ); ?> <?php the_author() ?></span><br/><br/>
|
|
<?php endif; ?>
|
|
|
|
<?php if ( count( get_the_category() ) ) : ?>
|
|
<?php printf( __( 'Categories: %2$s', 'hangar' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?>
|
|
|
|
|
<?php endif; ?>
|
|
<?php
|
|
$tags_list = get_the_tag_list( '', ', ' );
|
|
if ( $tags_list ):
|
|
?>
|
|
<?php printf( __( 'Tags: %2$s', 'hangar' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>
|
|
|
|
|
<?php endif; ?>
|
|
|
|
<!-- <?php comments_popup_link( __( 'Leave a comment', 'hangar' ), __( '1 comment', 'hangar' ), __( '% comments', 'hangar' ) ); ?>
|
|
<?php edit_post_link( __( 'Edit →', 'hangar' ), '| ', '' ); ?>--></p>
|
|
</div>
|
|
<!--end Post-->
|
|
|
|
<?php //comments_template( '', true ); ?>
|
|
|
|
<?php endwhile; // End the loop. ?>
|
|
|
|
<?php wp_pagenavi(); /* kriesi_pagination();*/?>
|
|
|
|
|
|
<!--<?php /* Display navigation to next/previous pages when applicable */ ?>
|
|
<?php if ( $wp_query->max_num_pages > 1 ) : ?>
|
|
<div id="navi" class="cleared">
|
|
<p class="previous"><?php next_posts_link( __( '← Older posts', 'hangar' ) ); ?></p>
|
|
<p class="next"><?php previous_posts_link( __( 'Newer posts →', 'hangar' ) ); ?></p>
|
|
</div>
|
|
<?php endif; ?>
|
|
-->
|
|
|
|
|
|
<?php else : ?>
|
|
<h2 class="archive"><strong><?php _e( 'No Search Result Found', 'hangar' ); ?></strong></h2>
|
|
<div class="post">
|
|
<p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'hangar' ); ?></p>ppoiopiopio
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
</div>
|
|
<!--end Content-->
|
|
|
|
<?php // get_sidebar('secondary'); ?>
|
|
|
|
</div>
|
|
<!--end Main-->
|
|
|
|
<?php get_footer(); ?>
|