zZzzZ.
home2
/
zrzvbdry
/
couponetive.com
/
wp-content
/
themes
/
retail-pro
/
templates
New Folder
Editing: full-width.php
Save
Cancel
<?php /** * Template Name: Fullwidth Page * * @package retail-pro * @since 1.0. */ get_header(); /** * Hooks wpcoupon_after_header * * @see wpcoupon_page_header(); * */ do_action( 'wpcoupon_after_header' ); $layout = wpcoupon_get_site_layout(); if ( ! is_active_sidebar( 'frontpage-sidebar' ) ) { $layout = 'no-sidebar'; } $show_header = wpcoupon_get_option('_wpc_show_header'); if($show_header=='on'){ ?> <div class="rt-full-top"> <?php // Must be inside a loop. if ( has_post_thumbnail() ) { ?> <div class="rt-thumb-img"> <div class="rt-page-title" style="background-image: url(<?php the_post_thumbnail_url(); ?>), linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5))"> <div class="container"> <h3><?php the_title(); ?></h3> </div> </div> </div> <?php }else{ ?> <div class="rt-page-title"> <div class="container"> <h3><?php the_title(); ?></h3> </div> </div> <?php } ?> </div> <?php } ?> <div id="content-wrap" class="container container-page full-width"> <div class="content-area"> <main id="main" class="site-main" role="main"> <div class="rt-full-bottom"> <?php get_template_part('content'); wpcoupon_wp_link_pages( ); // If comments are open or we have at least one comment, load up the comment template. if ( comments_open() || get_comments_number() ) : comments_template(); endif; ?> </div> </main><!-- #main --> </div><!-- #primary --> </div> <!-- /#content-wrap --> <?php $page_breadcrumb = wpcoupon_get_option('page_breadcrumb'); if( $page_breadcrumb ==true ){ ?> <div class="container"> <div class="retail_pro_breadcrumb"> <?php /** * Hooked * * @see wpcoupon_breadcrumb() - 15 * * @since 1.0.0 */ do_action( 'wpcoupon_before_container' ); ?> </div> </div> <?php }?> <?php get_footer(); ?>