-
Notifications
You must be signed in to change notification settings - Fork 24
/
tag.php
31 lines (20 loc) · 884 Bytes
/
tag.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php get_header(); ?>
<?php if (have_posts()) : ?>
<!--<h1 class="archive-title"><?php printf( __( 'Tag Archives: %s', 'PhotoBroad' ), '<span>' . single_tag_title( '', false ) . '</span>' ); ?></h1>-->
<div id="main" class="main clearfix">
<?php while (have_posts()) : the_post(); ?>
<?php
$format = get_post_format();
if( false === $format ) { $format = 'standard'; }
?>
<?php get_template_part( 'content', $format ); ?>
<?php endwhile; ?>
</div>
<?php else : ?>
<div class="no-result">
<h1> <?php _e( 'No Results Found', 'PhotoBroad' ); ?></h1>
<p><?php _e( 'The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.', 'PhotoBroad' ); ?></p>
</div>
<?php endif; ?>
<div class="navigation" id="navigation"><?php next_posts_link( '' ) ?></div>
<?php get_footer(); ?>