SHELL BYPASS 403 |
Modern UI.
Responsive.
Powerful.
<?php
get_header();
if(!wedding_planner_gd('_page_hide_page_content')) {
?>
<div id="content" class="<?php echo esc_attr(wedding_planner_gd('_page_content_css_name')); ?>">
<?php
if ( have_posts() && wedding_planner_gd('_page_hide_page_content') != '1') while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class('page'); ?>>
<article>
<?php if ( has_post_thumbnail() ) { echo '<div class="featured-thumbnail">'; the_post_thumbnail(); echo '</div>'; } ?>
<div class="post-content page-content">
<?php
if(!post_password_required()) {
the_content();
wp_link_pages();
}else{
echo get_the_password_form();
}
?>
</div><!--.post-content .page-content -->
</article>
<?php if( wedding_planner_get_option('page_page_author') == '1') { ?>
<div id="page-meta">
<h3><?php esc_attr_e('Written by ', 'wedding-planner'); the_author_posts_link() ?></h3>
<p class="gravatar"><?php if(function_exists('get_avatar')) { echo get_avatar( get_the_author_meta('email'), '80' ); } ?></p>
<p><?php esc_attr_e('Posted on ', 'wedding-planner'); the_time(WEDDING_PLANNER_DATE_FORMAT); esc_attr_e(' at ', 'wedding-planner'); the_time() ?></p>
</div><!--#pageMeta-->
<?php } ?>
</div><!--#post-# .post-->
<?php
if( wedding_planner_get_option('page_page_comment') == '1') {
comments_template( '', true );
}
endwhile;
?>
</div><!--#content-->
<?php
}
get_footer();
?>