Server IP : 66.29.132.124 / Your IP : 13.58.191.60 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/misswavenigeria.com/wp-content/themes/ombre/ |
Upload File : |
<?php /* Template Name: Homepage - Blog - Sidebar */ ?> <?php get_header(); ?> <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> <?php $partnerscheck = get_post_meta( get_the_id(), 'ombrepartnerscheck', true ); ?> <?php if ( function_exists( 'ombre_home_slider') ) { ombre_home_slider(); } ?> <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $ombre_query = new WP_Query( array('posts_per_page' => get_option( 'posts_per_page' ), 'paged' => $paged) ); ?> <div id="page-container"> <div class="grid"> <div class="unit two-thirds"> <?php if ( function_exists( 'ombre_page_slider') ) { ombre_page_slider(); } ?> <?php the_content(); ?> <?php while($ombre_query->have_posts()) : $ombre_query->the_post(); ?> <?php get_template_part( 'templates/post', 'template'); ?> <?php endwhile; ?> <?php if ( $ombre_query->max_num_pages > 1 ) : ?> <?php ombre_custom_pagination($ombre_query); ?> <?php endif; ?> <?php wp_reset_postdata(); ?> </div> <aside class="unit one-third"> <?php if ( is_active_sidebar( 'ombremainsidebar' ) ) { ?> <?php dynamic_sidebar( 'ombremainsidebar' ); ?> <?php } ?> </aside> </div> <?php if ((function_exists('ombre_partners') && ($partnerscheck == 'on')) ) { ?> <div class="grid-border"></div> <div class="grid"> <div class="unit whole no-padding"> <?php ombre_partners(); ?> </div> </div> <?php } ?> </div> <?php endwhile; ?> <?php get_footer(); ?>