PageRenderTime 44ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/wp-content/themes/WP960gs-master/archive.php

https://github.com/racs182/Cloud_hosting_pagoda
PHP | 31 lines | 26 code | 5 blank | 0 comment | 3 complexity | 548b741f51502585903275bd7e81b078 MD5 | raw file
Possible License(s): LGPL-2.1, GPL-2.0, AGPL-1.0
  1. <?php
  2. get_header(); ?>
  3. <div class="row">
  4. <div id="main" class="grid8">
  5. <?php if ( have_posts() ) the_post(); ?>
  6. <h1 class="page-title">
  7. <?php if ( is_day() ) : ?>
  8. <?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_date() ); ?>
  9. <?php elseif ( is_month() ) : ?>
  10. <?php printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyten' ) ) ); ?>
  11. <?php elseif ( is_year() ) : ?>
  12. <?php printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_date( _x( 'Y', 'yearly archives date format', 'twentyten' ) ) ); ?>
  13. <?php else : ?>
  14. <?php _e( 'Blog Archives', 'twentyten' ); ?>
  15. <?php endif; ?>
  16. </h1>
  17. <?php
  18. rewind_posts();
  19. get_template_part( 'loop', 'archive' );
  20. ?>
  21. </div> <!-- #main -->
  22. <div id="sidebar" class="grid4">
  23. <?php get_sidebar(); ?>
  24. </div> <!-- #sidebar -->
  25. </div><!-- .row -->
  26. <?php get_footer(); ?>