?
Path : /home/admin/domains/happytokorea.net/public_html/wp-content/themes/surfarama/ |
Current File : /home/admin/domains/happytokorea.net/public_html/wp-content/themes/surfarama/archive.php |
<?php get_header(); ?> <div id="content" class="clearfix"> <div id="main" class="clearfix" role="main"> <?php if ( have_posts() ) : ?> <header class="page-header"> <h1 class="page-title"> <?php if ( is_day() ) : printf( __( 'Daily Archives: %s', 'surfarama' ), '<span class="colortxt">' . get_the_date() . '</span>' ); elseif ( is_month() ) : printf( __( 'Monthly Archives: %s', 'surfarama' ), '<span class="colortxt">' . get_the_date( 'F Y' ) . '</span>' ); elseif ( is_year() ) : printf( __( 'Yearly Archives: %s', 'surfarama' ), '<span class="colortxt">' . get_the_date( 'Y' ) . '</span>' ); else : _e( 'Archives', 'surfarama' ); endif; ?> </h1> </header> <?php rewind_posts(); ?> <div id="grid-wrap" class="clearfix"> <?php /* Start the Loop */ ?> <?php while ( have_posts() ) : the_post(); ?> <div class="grid-box"> <?php /* Include the Post-Format-specific template for the content. */ get_template_part( 'content', get_post_format() ); ?> </div> <?php endwhile; ?> </div> <?php if (function_exists("surfarama_pagination")) { surfarama_pagination(); } elseif (function_exists("surfarama_content_nav")) { surfarama_content_nav( 'nav-below' ); }?> <?php else : ?> <article id="post-0" class="post no-results not-found"> <header class="entry-header"> <h1 class="entry-title"><?php _e( 'Nothing Found', 'surfarama' ); ?></h1> </header><!-- .entry-header --> <div class="entry-content post_content"> <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'surfarama' ); ?></p> <?php get_search_form(); ?> </div><!-- .entry-content --> </article><!-- #post-0 --> <?php endif; ?> </div> <!-- end #main --> <?php get_sidebar('archive'); ?> </div> <!-- end #content --> <?php get_footer(); ?>