File "page.php"
Full Path: /home/refref/public_html/plugins/wordfence/wp-post-to-pdf-enhanced-cache/knowhow/page.php
File size: 1.41 KB
MIME-type: text/x-php
Charset: utf-8
<?php get_header(); ?>
<?php
// Get sidebar position
$ht_page_sidebar = null;
$ht_page_sidebar = get_post_meta( get_the_ID(), '_ht_post_sidebar', true );
if ($ht_page_sidebar == '') {
$ht_page_sidebar = 'sidebar-right';
}
?>
<!-- #primary -->
<div id="primary" class="<?php echo $ht_page_sidebar ?> clearfix">
<!-- .container -->
<div class="container">
<!-- #content -->
<section id="content" role="main">
<!-- #page-header -->
<header id="page-header" class="clearfix">
<h1 class="page-title"><?php the_title(); ?></h1>
<?php st_breadcrumb(); ?>
<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
<div class="entry-thumbnail">
<?php the_post_thumbnail(); ?>
</div>
<?php endif; ?>
</header>
<!-- /#page-header -->
<?php while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry-content">
<?php the_content(); ?>
<?php numbered_in_page_links( array( 'before' => '<div class="page-links"><strong>' . __( 'Pages:', 'framework' ) .'</strong>', 'after' => '</div>' ) ); ?>
</div>
</article>
<?php endwhile; // end of the loop. ?>
</section>
<!-- #content -->
<?php if ($ht_page_sidebar != 'sidebar-off') { ?>
<?php get_sidebar(); ?>
<?php } ?>
<?php get_sidebar(); ?>
</div>
<!-- .container -->
</div>
<!-- #primary -->
<?php get_footer(); ?>