ruạṛ
<?php /** * The template for displaying full width pages. * * Template Name: Full width * * @package WordPress * @subpackage Shop Isle */ get_header(); ?> <!-- Wrapper start --> <div class="main"> <!-- Header section start --> <?php $shop_isle_header_image = get_the_post_thumbnail_url(); if ( empty( $shop_isle_header_image ) ) { $shop_isle_header_image = get_header_image(); } if ( ! empty( $shop_isle_header_image ) ) { echo '<section class="page-header-module module bg-dark" data-background="' . esc_url( $shop_isle_header_image ) . '">'; } else { echo '<section class="page-header-module module bg-dark">'; } ?> <div class="container"> <div class="row"> <div class="col-sm-10 col-sm-offset-1"> <h1 class="module-title font-alt"><?php the_title(); ?></h1> <?php /* Header description */ $shop_isle_shop_id = get_the_ID(); if ( ! empty( $shop_isle_shop_id ) ) : $shop_isle_page_description = get_post_meta( $shop_isle_shop_id, 'shop_isle_page_description' ); if ( ! empty( $shop_isle_page_description[0] ) ) : echo '<div class="module-subtitle font-serif mb-0">' . wp_kses_post( $shop_isle_page_description[0] ) . '</div>'; endif; endif; ?> </div> </div><!-- .row --> </div> </section> <!-- Header section end --> <!-- Pricing start --> <section class="module"> <div class="container"> <div class="row"> <!-- Content column start --> <div class="col-sm-12"> <?php /** * Top of the content hook. * * @hooked woocommerce_breadcrumb - 10 */ do_action( 'shop_isle_content_top' ); while ( have_posts() ) { the_post(); do_action( 'shop_isle_page_before' ); get_template_part( 'content', 'page' ); /** * Bottom of content hook. * * @hooked shop_isle_display_comments - 10 */ do_action( 'shop_isle_page_after' ); } ?> </div> </div> <!-- .row --> </div> </section> <!-- Pricing end --> <?php get_footer(); ?>
cải xoăn