-
-
Save AnnaCrumina/20b46da44fbb94faa0e6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* The template for displaying posts by category | |
* | |
* @package Reactor | |
* @subpackge Templates | |
* @since 1.0.0 | |
*/ | |
?> | |
<?php get_header(); ?> | |
<div id="primary" class="site-content"> | |
<?php reactor_content_before(); ?> | |
<div id="content" role="main"> | |
<div class="row"> | |
<?php set_layout('archive', true); ?> | |
<ul id="Grid" class="multi-column filterable-grid works-list large-block-grid-4"> | |
<?php reactor_inner_content_before(); ?> | |
<?php if ( have_posts() ) : ?> | |
<?php reactor_loop_before(); ?> | |
<?php while ( have_posts() ) : the_post(); ?> | |
<li class="isotope-item"> | |
<?php reactor_post_before(); ?> | |
<?php // get post format and display template for that format | |
if ( !get_post_format() ) : get_template_part('post-formats/format', 'standard'); | |
else : get_template_part('post-formats/format', get_post_format()); endif; ?> | |
<?php reactor_post_after(); ?> | |
</li> | |
<?php endwhile; // end of the loop ?> | |
</ul> | |
<?php reactor_loop_after(); ?> | |
<?php // if no posts are found | |
else : reactor_loop_else(); ?> | |
<?php endif; // end have_posts() check ?> | |
<?php reactor_inner_content_after(); ?> | |
<?php set_layout('archive', false); ?> | |
</div></div><!-- #content --> | |
<?php reactor_content_after(); ?> | |
</div><!-- #primary --> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment