Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.40 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <div class="content">
  4.  
  5. <div class="posts">
  6.  
  7. <?php /*?><div class="page-title section light-padding">
  8.  
  9. <div class="section-inner">
  10.  
  11. <h4><?php if ( is_day() ) : ?>
  12. <?php printf( __( '%s', 'radcliffe' ), '' . get_the_date() . '' ); ?>
  13. <?php elseif ( is_month() ) : ?>
  14. <?php printf( __( '%s', 'radcliffe' ), '' . get_the_date( _x( 'F Y', 'F = Month, Y = Year', 'radcliffe' ) ) ); ?>
  15. <?php elseif ( is_year() ) : ?>
  16. <?php printf( __( '%s', 'radcliffe' ), '' . get_the_date( _x( 'Y', 'Y = Year', 'radcliffe' ) ) ); ?>
  17. <?php elseif ( is_category() ) : ?>
  18. <?php printf( __( '%s', 'radcliffe' ), '' . single_cat_title( '', false ) . '' ); ?>
  19. <?php elseif ( is_tag() ) : ?>
  20. <?php printf( __( '%s', 'radcliffe' ), '' . single_tag_title( '', false ) . '' ); ?>
  21. <?php elseif ( is_author() ) : ?>
  22. <?php $curauth = (isset($_GET['author_name'])) ? get_user_by('slug', $author_name) : get_userdata(intval($author)); ?>
  23. <?php printf( __( '%s', 'radcliffe' ), $curauth->display_name ); ?>
  24. <?php else : ?>
  25. <?php _e( 'Archive', 'radcliffe' ); ?>
  26. <?php endif; ?>
  27.  
  28. <?php
  29. $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
  30.  
  31. if ( "1" < $wp_query->max_num_pages ) : ?>
  32.  
  33. <span><?php printf( __('(page %s of %s)', 'radcliffe'), $paged, $wp_query->max_num_pages ); ?></span>
  34.  
  35. <?php endif; ?></h4>
  36.  
  37. <?php
  38. $tag_description = tag_description();
  39. if ( ! empty( $tag_description ) )
  40. echo apply_filters( 'tag_archive_meta', '<div class="tag-archive-meta">' . $tag_description . '</div>' );
  41. ?>
  42.  
  43. </div> <!-- /section-inner -->
  44.  
  45. </div> <!-- /page-title -->
  46.  
  47. <div class="clear"></div><?php */?>
  48. <?php if ( have_posts() ) : ?>
  49. <?php
  50. $title = single_tag_title( '', false );
  51. /*if($title=='Journals')
  52. {
  53. ?>
  54. <section id="body-content" class="block post-content section-inner minimum">
  55.  
  56.  
  57. <div class="row">
  58.  
  59. <?php rewind_posts(); ?>
  60.  
  61. <?php while ( have_posts() ) : the_post(); ?>
  62. <div class="span four">
  63. <a href="<?php the_permalink(); ?>" class="article-img">
  64. <?php the_post_thumbnail('medium'); ?>
  65. <span class="title-bar">
  66. <span class="title-bar-inner">
  67. <span class="title"><?php the_title(); ?></span>
  68. </span>
  69. </span>
  70. </a>
  71. </div>
  72. <?php endwhile; ?>
  73. </div>
  74. </section>
  75. <?php
  76. }else{*/
  77. ?>
  78.  
  79.  
  80. <?php rewind_posts(); ?>
  81.  
  82. <?php while ( have_posts() ) : the_post(); ?>
  83.  
  84. <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  85.  
  86. <?php get_template_part( 'content', get_post_format() ); ?>
  87.  
  88. </div> <!-- /post -->
  89.  
  90. <?php endwhile; ?>
  91. <?php
  92. //}
  93. ?>
  94. </div> <!-- /posts -->
  95.  
  96. <?php /*if ( $wp_query->max_num_pages > 1 ) : ?>
  97.  
  98. <div class="archive-nav">
  99.  
  100. <?php echo get_next_posts_link( '&laquo; ' . __('Older posts', 'radcliffe')); ?>
  101.  
  102. <?php echo get_previous_posts_link( __('Newer posts', 'radcliffe') . ' &raquo;'); ?>
  103.  
  104. <div class="clear"></div>
  105.  
  106. </div> <!-- /post-nav archive-nav -->
  107.  
  108. <?php endif;*/ ?>
  109.  
  110. <?php endif; ?>
  111.  
  112. </div> <!-- /content -->
  113.  
  114. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement