File "tag.php"
Full Path: /home/refref/public_html/knowhow/wordfence/knowhow/tag.php
File size: 1.27 KB
MIME-type: text/x-php
Charset: utf-8
<?php get_header(); ?>
<!-- #primary-->
<div id="primary" class="<?php if (of_get_option('st_hp_sidebar') == 'fullwidth') { echo 'fullwidth'; } elseif (of_get_option('st_hp_sidebar') == 'sidebar-l') { echo 'sidebar-left'; } else { echo 'sidebar-right'; } ?> clearfix">
<!-- .container -->
<div class="container">
<!-- #content-->
<section id="content" role="main">
<!-- #page-header -->
<header id="page-header" class="clearfix">
<h1 class="page-title"><?php _e( 'Articles Tagged: ', 'framework' ); ?><?php single_tag_title(); ?></h1>
<?php if ( tag_description() ) : // Show an optional tag description ?>
<div class="archive-meta"><?php echo tag_description(); ?></div>
<?php endif; ?>
</header>
<!-- /#page-header -->
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php get_template_part( 'content', get_post_format() ); ?>
<?php endwhile; ?>
<?php get_template_part( 'page', 'navigation' ); ?>
<?php else: ?>
<?php get_template_part( 'no-results', 'index' ); ?>
<?php endif; ?>
</section>
<!-- /#content-->
<?php if (of_get_option('st_hp_sidebar') != 'fullwidth') { ?>
<?php get_sidebar(); ?>
<?php } ?>
</div>
<!-- .container -->
</div>
<!-- /#primary -->
<?php get_footer(); ?>