SHELL BYPASS 403 |
Modern UI.
Responsive.
Powerful.
<?php
get_header();
/* Widgetized LEFT sidebar */
if(is_active_sidebar(wedding_planner_gd('_page_sidebar_name')) && function_exists( 'dynamic_sidebar' ) && $ozyWeddingPlannerHelper->hasIt(wedding_planner_gd('_page_content_css_name'),'left-sidebar') && wedding_planner_gd('_page_sidebar_name')) {
?>
<div id="sidebar" class="<?php echo esc_attr(wedding_planner_gd('_page_content_css_name')); ?>">
<ul>
<?php dynamic_sidebar( wedding_planner_gd('_page_sidebar_name') ); ?>
</ul>
</div>
<!--sidebar-->
<?php
}
?>
<div id="content" class="<?php echo esc_attr(wedding_planner_gd('_page_content_css_name')); ?> search">
<div id="search-results" <?php post_class('page'); ?>>
<article>
<div class="post-content page-content">
<div>
<?php
if (have_posts()) :
while (have_posts()) : the_post();
?>
<article class="result">
<?php if ( has_post_thumbnail() ) { echo '<a href="'. esc_url(get_permalink()) .'">'; the_post_thumbnail('wedding_planner_showbiz'); echo '</a>'; } ?>
<h4><a href="<?php echo esc_url(get_permalink()) ?>"><?php the_title() ?></a></h4>
<p><?php echo wedding_planner_excerpt_max_charlength(100, true) ?></p>
<strong><?php $post_type_obj = get_post_type_object(get_post_type()); if(isset($post_type_obj->labels->singular_name)) {echo esc_attr($post_type_obj->labels->singular_name);} ?></strong>
</article>
<?php
endwhile;
wp_reset_postdata();
else:
?>
<div class="no-results">
<h2><?php esc_attr_e('No Results', 'wedding-planner'); ?></h2>
<p><?php esc_attr_e('Please feel free try to again!', 'wedding-planner'); ?></p>
<?php get_search_form(); /* outputs the default Wordpress search form */ ?>
</div><!--noResults-->
<?php endif; ?>
</div>
<?php echo wedding_planner_get_pagination('<div class="page-pagination">', '</div>'); ?>
</div>
</article>
</div>
</div><!--#content-->
<?php
/* Widgetized RIGHT sidebar */
if(is_active_sidebar(wedding_planner_gd('_page_sidebar_name')) && function_exists( 'dynamic_sidebar' ) && $ozyWeddingPlannerHelper->hasIt(wedding_planner_gd('_page_content_css_name'),'right-sidebar') && wedding_planner_gd('_page_sidebar_name')) {
?>
<div id="sidebar" class="<?php echo esc_attr(wedding_planner_gd('_page_content_css_name')); ?>">
<ul>
<?php dynamic_sidebar( wedding_planner_gd('_page_sidebar_name') ); ?>
</ul>
</div>
<!--sidebar-->
<?php
}
get_footer();
?>