Server IP : 66.29.132.124 / Your IP : 3.149.242.223 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: Galleries - 4 Columns */ ?> <?php get_header(); ?> <?php $removegalcats = esc_attr(get_option('ombre_removegalcats')); ?> <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> <?php $headerimage = get_post_meta( get_the_id(), 'ombre_featured_image_key', true ); ?> <?php $subtitle = get_post_meta( get_the_id(), 'ombre_subtitle_key', true ); ?> <?php $partnerscheck = get_post_meta( get_the_id(), 'ombrepartnerscheck', true ); ?> <?php if (!empty($headerimage)) { ?> <div id="featured-image-container"> <div class="img-loading"></div> <div id="featured-image" data-img="<?php echo esc_url($headerimage); ?>"> <div id="featured-image-title"> <h1><?php the_title(); ?></h1> <?php if (!empty($subtitle)) { ?> <p><span><?php echo esc_html($subtitle); ?></span></p> <?php } ?> </div> </div> </div> <?php } else { ?> <div id="page-title"> <h1><span><?php the_title(); ?></span></h1> </div> <?php if (!empty($subtitle)) { ?> <div id="sub-title"> <div><span><?php echo esc_html($subtitle); ?></span></div> </div> <?php } ?> <?php } ?> <div id="page-container"> <div class="grid"> <div class="unit whole"> <?php if ( function_exists( 'ombre_page_slider') ) { ombre_page_slider(); } ?> <?php the_content(); ?> <?php if ( ($removegalcats != 'true') && ( function_exists('ombre_gallery_menu') )) { ombre_gallery_menu(); } ?> <?php if ( function_exists('ombre_galleries') ) { $gallerycolumns = 'four-columns'; ombre_galleries($gallerycolumns); } ?> </div> </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(); ?>