Skip to content

Commit

Permalink
Merge branch '0.8.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
frnsys committed Nov 14, 2017
2 parents ef11005 + ff4be5b commit 08002cc
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions taxonomy-bundle.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?php
/**
* The template for displaying archive pages.
*
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package Gridbox
*/

get_header();

if ( have_posts() ) : ?>

<?php endif; ?>

<section id="primary" class="content-archive content-area">
<main id="main" class="site-main" role="main">
<h2 class="bundle-name"><?php echo get_queried_object()->name; ?></h2>
<p class="bundle-description"><?php echo get_queried_object()->description; ?></p>

<?php
if ( have_posts() ) : ?>

<div id="post-wrapper" class="post-wrapper clearfix">

<?php while ( have_posts() ) : the_post();

get_template_part( 'template-parts/content', get_post_type() );

endwhile; ?>

</div>

<?php gridbox_pagination(); ?>

<?php
else :

get_template_part( 'template-parts/content', 'none' );

endif; ?>

</main><!-- #main -->
</section><!-- #primary -->

<?php get_footer(); ?>

0 comments on commit 08002cc

Please sign in to comment.