PATH:
home
/
lab2454c
/
isaaclondston.com
/
wp-content
/
themes
/
divine_saint
<?php /** * Template Name: Home Page */ get_header(); ?> <?php if( have_rows('banner') ): while( have_rows('banner') ) : the_row(); ?> <div class="header__banner__main"> <div class="header__banner___overlay"></div> <div class="image__box"> <img src="<?php the_sub_field('banner_image'); ?>" alt="" /> </div> <div class="banner__content"> <div class="container"> <div class="banner__container__inner"> <h1> <?php the_sub_field('banner_heading'); ?> </h1> <div class="banner__btn__wrapp"> <a class="banner__btn" href="<?php the_sub_field('banner_button_url'); ?>"> <?php the_sub_field('banner_button_text'); ?><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 357.4 172.2" style="enable-background:new 0 0 357.4 172.2; fill:#fadecd" xml:space="preserve"> <path d="M353.8,77.6c-0.1-0.1-0.1-0.1-0.2-0.1c0-0.1-0.1-0.1-0.1-0.2L279.8,3.6c-4.8-4.8-12.6-4.8-17.4,0c-4.8,4.8-4.8,12.6,0,17.4 l52.9,52.9h-303C5.5,73.8,0,79.3,0,86.1v0c0,6.8,5.5,12.3,12.3,12.3h303.3l-52.9,52.9c-4.8,4.8-4.8,12.6,0,17.4 c4.8,4.8,12.6,4.8,17.4,0l73.7-73.7C358.6,90.1,358.6,82.4,353.8,77.6z" /> </svg> </a> </div> </div> </div> </div> </div> <?php endwhile; endif; ?> <div class="body__container__wrapp"> <?php if( have_rows('why_divine_section') ): while( have_rows('why_divine_section') ) : the_row(); ?> <div class="about__wrapp"> <div class="content__wrap" style="background-image: url('<?php the_sub_field('background_image'); ?>');"> <div class="container-xl container-lg container-fluid"> <div class="row"> <div class="col-xl-6 col-lg-6 offset-xl-6 offset-lg-6"> <div class="content__wrap__innre"> <h3> <?php the_sub_field('title'); ?> </h3> <h2> <?php the_sub_field('sub-title'); ?> </h2> <?php the_sub_field('content'); ?> <div class="btn__wrapp"> <a href="<?php the_sub_field('button_url'); ?>"> <?php the_sub_field('button_text'); ?> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 357.4 172.2" style="enable-background:new 0 0 357.4 172.2; fill:#fadecd" xml:space="preserve"> <path d="M353.8,77.6c-0.1-0.1-0.1-0.1-0.2-0.1c0-0.1-0.1-0.1-0.1-0.2L279.8,3.6c-4.8-4.8-12.6-4.8-17.4,0c-4.8,4.8-4.8,12.6,0,17.4 l52.9,52.9h-303C5.5,73.8,0,79.3,0,86.1v0c0,6.8,5.5,12.3,12.3,12.3h303.3l-52.9,52.9c-4.8,4.8-4.8,12.6,0,17.4 c4.8,4.8,12.6,4.8,17.4,0l73.7-73.7C358.6,90.1,358.6,82.4,353.8,77.6z" /> </svg> </a> </div> </div> </div> </div> </div> </div> <div class="image__box"> <?php $image = get_sub_field('image'); if( !empty( $image ) ): ?> <img src="<?php echo esc_url($image['url']); ?>" alt="<?php echo esc_attr($image['alt']); ?>" /> <p> <?php echo esc_attr($image['caption']); ?> </p> <?php endif; ?> </div> </div> <?php endwhile; endif; ?> <!-- New Biography Section Start --> <div class="product__list__wrapp no__product__list__wrapp"> <div class="container-xl container-lg container-fluid"> <div class="row"> <?php if( have_rows('new_bio_section') ): while( have_rows('new_bio_section') ) : the_row(); ?> <div class="product__bid__content"> <h2> <?php the_sub_field('title'); ?> </h2> </div> <div class="col-xl-12 col-lg-12 col-md-12"> <div class="product__list__main"> <ul> <?php while( have_rows('column_content') ) : the_row(); ?> <li class="product__item"> <div class="thumb__wrapper"> <h3 class="product__title"> <?php the_sub_field('heading'); ?> </h3> <?php the_sub_field('sub_heading'); ?> </div> </li> <?php endwhile; ?> </ul> </div> </div> <?php endwhile; endif; ?> </div> </div> </div> <div class="product__list__wrapp no__product__list__wrapp"> <div class="container-xl container-lg container-fluid"> <div class="row"> <?php if( have_rows('new_bio_section_2') ): while( have_rows('new_bio_section_2') ) : the_row(); ?> <div class="product__bid__content"> <h2> <?php the_sub_field('title'); ?> </h2> </div> <div class="col-xl-12 col-lg-12 col-md-12"> <div class="product__list__main"> <ul> <?php while( have_rows('column_content') ) : the_row(); ?> <li class="product__item"> <div class="thumb__wrapper"> <h3 class="product__title"> <?php the_sub_field('heading'); ?> </h3> <?php the_sub_field('sub_heading'); ?> </div> </li> <?php endwhile; ?> </ul> </div> </div> <?php endwhile; endif; ?> </div> </div> </div> <!-- New Biography Section End --> <?php if( have_rows('divine_saint_info_section') ): while( have_rows('divine_saint_info_section') ) : the_row(); ?> <div class="divine__saint__info"> <div class="content__wrap" style="background-image: url('<?php the_sub_field('background_image'); ?>'),url('<?php the_sub_field('background_image_2'); ?>');"> <div class="container-xl container-lg container-fluid"> <div class="row"> <div class="col-xl-6 col-lg-6"> <div class="content__wrap__innre"> <h2> <?php the_sub_field('title'); ?> </h2> <?php the_sub_field('content'); ?> <div class="btn__wrapp"> <a href="<?php the_sub_field('button_url'); ?>"> <?php the_sub_field('button_text'); ?> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 357.4 172.2" style="enable-background:new 0 0 357.4 172.2; fill:#fadecd" xml:space="preserve"> <path d="M353.8,77.6c-0.1-0.1-0.1-0.1-0.2-0.1c0-0.1-0.1-0.1-0.1-0.2L279.8,3.6c-4.8-4.8-12.6-4.8-17.4,0c-4.8,4.8-4.8,12.6,0,17.4 l52.9,52.9h-303C5.5,73.8,0,79.3,0,86.1v0c0,6.8,5.5,12.3,12.3,12.3h303.3l-52.9,52.9c-4.8,4.8-4.8,12.6,0,17.4 c4.8,4.8,12.6,4.8,17.4,0l73.7-73.7C358.6,90.1,358.6,82.4,353.8,77.6z" /> </svg> </a> </div> </div> </div> </div> </div> </div> <div class="image__box"> <img src="<?php the_sub_field('image'); ?>" alt="" /> </div> </div> <?php endwhile; endif; ?> <div class="product__list__wrapp"> <div class="container-xl container-lg container-fluid"> <div class="row"> <?php if( have_rows('home_product_auction_section') ): while( have_rows('home_product_auction_section') ) : the_row(); ?> <div class="product__bid__content"> <h2> <?php the_sub_field('title'); ?> </h2> <h3> <?php the_sub_field('sub_title'); ?> </h3> </div> <?php endwhile; endif; ?> <div class="col-xl-12 col-lg-12 col-md-12"> <div class="product__list__main"> <ul> <?php $args = array( 'post_type' => 'product', 'orderby' => 'date', 'order' => 'DESC', 'posts_per_page' => 12, 'taxonomy' => 'product_cat', ); $products = new WP_Query($args); if ($products->have_posts()): while ($products->have_posts()): $products->the_post(); ?> <li class="product__item"> <div class="thumb__wrapper"> <a href="<?php the_permalink();?>"> <div class="image__box"> <?php if (has_post_thumbnail($products->post->ID)) { echo get_the_post_thumbnail($products->post->ID, 'shop_catalog'); } else { echo '<img src="' . woocommerce_placeholder_img_src() . '" alt="Placeholder" />'; } ?> </div> </a> <?php $terms = get_the_terms($products->ID, 'product_cat'); if (!empty($terms)) { foreach ($terms as $term) { ?> <span class="prod__cat__list"> <?php echo $term->name; ?> </span> <?php } } ?> <a href="<?php the_permalink();?>" class="loop__product__link"> <h3 class="product__title"> <?php the_title();?> </h3> <p> <?php echo get_field('pro_excerpt'); ?> </p> <?php if ($average = $product->get_average_rating()) : ?> <?php echo '<div class="star-rating" title="'.sprintf(__( 'Rated %s out of 5', 'woocommerce' ), $average).'"><span style="width:'.( ( $average / 5 ) * 100 ) . '%"><strong itemprop="ratingValue" class="rating">'.$average.'</strong> '.__( 'out of 5', 'woocommerce' ).'</span></div>'; ?> <?php endif; ?> <!-- <span class="price"><?php //echo $product->get_price_html(); ?></span> --> </a> <?php echo apply_filters( 'woocommerce_loop_add_to_cart_link', sprintf( '<a href="%s" rel="nofollow" data-product_id="%s" data-product_sku="%s" class="button %s product_type_%s">%s</a>', esc_url( $product->add_to_cart_url() ), esc_attr( $product->get_id() ), esc_attr( $product->get_sku() ), $product->is_purchasable() ? 'add_to_cart_button' : '', esc_attr( $product->get_type() ), esc_html( $product->add_to_cart_text() ) ), $product ); ?> </div> </li> <?php endwhile; wp_reset_postdata(); //wp_reset_query(); endif; ?> </ul> </div> </div> </div> </div> </div> <?php if( have_rows('discover_collection_section') ): while( have_rows('discover_collection_section') ) : the_row(); ?> <div class="divine__saint__collection" style="background-image: url('<?php the_sub_field('background_image'); ?>');"> <div class="banner___overlay"></div> <div class="container-xl container-lg container-fluid"> <div class="content__wrap__innre"> <h2> <?php the_sub_field('title'); ?> </h2> <?php the_sub_field('content'); ?> <div class="btn__wrapp"> <a href="<?php the_sub_field('button_url'); ?>"> <?php the_sub_field('button_text'); ?> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 357.4 172.2" style="enable-background:new 0 0 357.4 172.2; fill:#fadecd" xml:space="preserve"> <path d="M353.8,77.6c-0.1-0.1-0.1-0.1-0.2-0.1c0-0.1-0.1-0.1-0.1-0.2L279.8,3.6c-4.8-4.8-12.6-4.8-17.4,0c-4.8,4.8-4.8,12.6,0,17.4 l52.9,52.9h-303C5.5,73.8,0,79.3,0,86.1v0c0,6.8,5.5,12.3,12.3,12.3h303.3l-52.9,52.9c-4.8,4.8-4.8,12.6,0,17.4 c4.8,4.8,12.6,4.8,17.4,0l73.7-73.7C358.6,90.1,358.6,82.4,353.8,77.6z" /> </svg> </a> </div> </div> </div> </div> <?php endwhile; endif; ?> <?php if( have_rows('one_step_ahead_section') ): while( have_rows('one_step_ahead_section') ) : the_row(); ?> <div class="staying__one__step"> <div class="content__wrap" style="background-image: url('<?php the_sub_field('background_image'); ?>'),url('<?php the_sub_field('background_image_2'); ?>');"> <div class="container-xl container-lg container-fluid"> <div class="row"> <div class="col-xl-6 col-lg-6"> <div class="content__wrap__innre"> <?php the_sub_field('content'); ?> </div> </div> </div> </div> </div> <div class="image__box"> <img src="<?php the_sub_field('image'); ?>" alt="" /> </div> </div> <?php endwhile; endif; ?> <?php if( have_rows('trending_section') ): while( have_rows('trending_section') ) : the_row(); ?> <div class="trending__wrap"> <div class="container-fluid"> <div class="row"> <div class="col-xl-4 col-lg-4 col-md-6 p-0"> <div class="inner__content__wrap"> <div class="owl-carousel owl-theme carousel__value"> <?php if( have_rows('slider_images') ): while ( have_rows('slider_images') ) : the_row(); $cur_img = get_sub_field('sli_images'); if(empty($cur_img))continue; ?> <div class="item category__item"> <div class="item__wrap"> <img src="<?php echo get_sub_field('sli_images'); ?>" alt="" /> </div> </div> <?php endwhile; endif; ?> </div> </div> </div> <div class="col-xl-4 col-lg-4 col-md-6 p-0"> <div class="inner__content"> <div class="item__content"> <?php the_sub_field('content'); ?> </div> </div> </div> <div class="col-xl-4 col-lg-4 col-md-12 p-0"> <div class="shop__wrap" style="background-image: url('<?php the_sub_field('background_image'); ?>');"> <div class="btn__wrapp"> <a href="<?php the_sub_field('button_url'); ?>"> <?php the_sub_field('button_text'); ?> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 357.4 172.2" style="enable-background:new 0 0 357.4 172.2; fill:#fadecd" xml:space="preserve"> <path d="M353.8,77.6c-0.1-0.1-0.1-0.1-0.2-0.1c0-0.1-0.1-0.1-0.1-0.2L279.8,3.6c-4.8-4.8-12.6-4.8-17.4,0c-4.8,4.8-4.8,12.6,0,17.4 l52.9,52.9h-303C5.5,73.8,0,79.3,0,86.1v0c0,6.8,5.5,12.3,12.3,12.3h303.3l-52.9,52.9c-4.8,4.8-4.8,12.6,0,17.4 c4.8,4.8,12.6,4.8,17.4,0l73.7-73.7C358.6,90.1,358.6,82.4,353.8,77.6z" /> </svg> </a> </div> </div> </div> </div> </div> </div> <?php endwhile; endif; ?> <?php if( have_rows('rough_section') ): while( have_rows('rough_section') ) : the_row(); ?> <div class="rough__wrapp" style="background-image: url('<?php the_sub_field('background_image'); ?>');"> <div class="content__wrap"> <div class="container-xl container-lg container-fluid"> <div class="row"> <div class="col-xl-7 col-lg-7 offset-xl-5 offset-lg-5"> <div class="content__wrap__innre"> <?php the_sub_field('content'); ?> <div class="btn__wrapp"> <a href="<?php the_sub_field('button_url'); ?>"> <?php the_sub_field('button_text'); ?> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 357.4 172.2" style="enable-background:new 0 0 357.4 172.2; fill:#fadecd" xml:space="preserve"> <path d="M353.8,77.6c-0.1-0.1-0.1-0.1-0.2-0.1c0-0.1-0.1-0.1-0.1-0.2L279.8,3.6c-4.8-4.8-12.6-4.8-17.4,0c-4.8,4.8-4.8,12.6,0,17.4 l52.9,52.9h-303C5.5,73.8,0,79.3,0,86.1v0c0,6.8,5.5,12.3,12.3,12.3h303.3l-52.9,52.9c-4.8,4.8-4.8,12.6,0,17.4 c4.8,4.8,12.6,4.8,17.4,0l73.7-73.7C358.6,90.1,358.6,82.4,353.8,77.6z" /> </svg> </a> </div> </div> </div> </div> </div> </div> <div class="image__box"> <img src="<?php the_sub_field('image'); ?>" alt="" /> </div> </div> <?php endwhile; endif; ?> </div> <?php get_footer(); ?>
[+]
woocommerce
[-] footer-widget.php
[edit]
[-] search.php
[edit]
[-] index.php
[edit]
[-] page.php
[edit]
[-] searchform.php
[edit]
[+]
..
[-] sidebar.php
[edit]
[-] template-rough.php
[edit]
[-] rtl.css
[edit]
[-] woocommerce-new-old.php
[edit]
[-] blank-page-with-container.php
[edit]
[-] template-globalgem.php
[edit]
[-] single.php
[edit]
[-] footer.php
[edit]
[-] template-about.php
[edit]
[-] template-home.php
[edit]
[-] template-polished.php
[edit]
[-] .DS_Store
[edit]
[-] blank-page.php
[edit]
[-] left-sidebar.php
[edit]
[-] header.php
[edit]
[-] style.css
[edit]
[-] template-service.php
[edit]
[-] 404.php
[edit]
[-] readme.txt
[edit]
[-] single-attachment.php
[edit]
[-] screenshot.png
[edit]
[-] custom-editor-style.css
[edit]
[-] functions.php
[edit]
[-] archive.php
[edit]
[-] fullwidth.php
[edit]
[+]
template-parts
[-] comments.php
[edit]
[-] template-contact.php
[edit]
[+]
inc
[-] template-blog.php
[edit]
[-] woocommerce-old.php
[edit]