Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div class="content">
- <div class="posts">
- <?php /*?><div class="page-title section light-padding">
- <div class="section-inner">
- <h4><?php if ( is_day() ) : ?>
- <?php printf( __( '%s', 'radcliffe' ), '' . get_the_date() . '' ); ?>
- <?php elseif ( is_month() ) : ?>
- <?php printf( __( '%s', 'radcliffe' ), '' . get_the_date( _x( 'F Y', 'F = Month, Y = Year', 'radcliffe' ) ) ); ?>
- <?php elseif ( is_year() ) : ?>
- <?php printf( __( '%s', 'radcliffe' ), '' . get_the_date( _x( 'Y', 'Y = Year', 'radcliffe' ) ) ); ?>
- <?php elseif ( is_category() ) : ?>
- <?php printf( __( '%s', 'radcliffe' ), '' . single_cat_title( '', false ) . '' ); ?>
- <?php elseif ( is_tag() ) : ?>
- <?php printf( __( '%s', 'radcliffe' ), '' . single_tag_title( '', false ) . '' ); ?>
- <?php elseif ( is_author() ) : ?>
- <?php $curauth = (isset($_GET['author_name'])) ? get_user_by('slug', $author_name) : get_userdata(intval($author)); ?>
- <?php printf( __( '%s', 'radcliffe' ), $curauth->display_name ); ?>
- <?php else : ?>
- <?php _e( 'Archive', 'radcliffe' ); ?>
- <?php endif; ?>
- <?php
- $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
- if ( "1" < $wp_query->max_num_pages ) : ?>
- <span><?php printf( __('(page %s of %s)', 'radcliffe'), $paged, $wp_query->max_num_pages ); ?></span>
- <?php endif; ?></h4>
- <?php
- $tag_description = tag_description();
- if ( ! empty( $tag_description ) )
- echo apply_filters( 'tag_archive_meta', '<div class="tag-archive-meta">' . $tag_description . '</div>' );
- ?>
- </div> <!-- /section-inner -->
- </div> <!-- /page-title -->
- <div class="clear"></div><?php */?>
- <?php if ( have_posts() ) : ?>
- <?php
- $title = single_tag_title( '', false );
- /*if($title=='Journals')
- {
- ?>
- <section id="body-content" class="block post-content section-inner minimum">
- <div class="row">
- <?php rewind_posts(); ?>
- <?php while ( have_posts() ) : the_post(); ?>
- <div class="span four">
- <a href="<?php the_permalink(); ?>" class="article-img">
- <?php the_post_thumbnail('medium'); ?>
- <span class="title-bar">
- <span class="title-bar-inner">
- <span class="title"><?php the_title(); ?></span>
- </span>
- </span>
- </a>
- </div>
- <?php endwhile; ?>
- </div>
- </section>
- <?php
- }else{*/
- ?>
- <?php rewind_posts(); ?>
- <?php while ( have_posts() ) : the_post(); ?>
- <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <?php get_template_part( 'content', get_post_format() ); ?>
- </div> <!-- /post -->
- <?php endwhile; ?>
- <?php
- //}
- ?>
- </div> <!-- /posts -->
- <?php /*if ( $wp_query->max_num_pages > 1 ) : ?>
- <div class="archive-nav">
- <?php echo get_next_posts_link( '« ' . __('Older posts', 'radcliffe')); ?>
- <?php echo get_previous_posts_link( __('Newer posts', 'radcliffe') . ' »'); ?>
- <div class="clear"></div>
- </div> <!-- /post-nav archive-nav -->
- <?php endif;*/ ?>
- <?php endif; ?>
- </div> <!-- /content -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement