forked from jspellman814/wordpress-composer-managed
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2d9fad2
commit 834627f
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
/** | ||
* The template for displaying all content with a single tag. | ||
* | ||
* @package MITlib_News | ||
* @since 0.3.0 | ||
*/ | ||
|
||
namespace Mitlib\News; | ||
|
||
get_header(); | ||
?> | ||
|
||
<?php get_template_part( 'inc/sub-header' ); ?> | ||
|
||
<div id="content" role="main"> | ||
<?php if ( have_posts() ) : ?> | ||
<div class="container container-fluid"> | ||
<div class="row"> | ||
<h1 class="lib-header">Tag: <strong><?php echo esc_html( single_tag_title( '', false ) ); ?></strong></h1> | ||
<?php | ||
while ( have_posts() ) : | ||
the_post(); | ||
get_template_part( 'content', 'single' ); | ||
endwhile; | ||
?> | ||
<p>This would be the pagination.</p> | ||
</div> | ||
</div> | ||
<?php endif; ?> | ||
</div><!-- #content --> | ||
|
||
<div class="container"> | ||
<?php get_footer(); ?> |