Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function clean($string) {
- $string = str_replace(' ', '-', $string); // Replaces all spaces with hyphens.
- return preg_replace('/[^A-Za-z0-9\-]/', '', $string); // Removes special chars.
- }
- if (!empty($_GET["state"])):
- $state = $_GET["state"];
- $state = clean($state);
- $theZip = strtolower($state);
- if (($theZip >= 90001) && ($theZip <= 96162) || ($theZip == 'california') || ($theZip == 'placer-county') || ($theZip == 'auburn')) {
- PRINT"<script>window.location.replace('/placercounty')</script>";
- }
- if (($theZip >= 80001) && ($theZip <= 81658) || ($theZip == 'colorado') || ($theZip == 'denver') || ($theZip == 'golden')) {
- PRINT"<script>window.location.replace('/denver')</script>";
- }
- if (($theZip >= 32004) && ($theZip <= 34997) || ($theZip == 'florida') || ($theZip == 'osceola-county') || ($theZip == 'osceola') || ($theZip == 'orlando')) {
- PRINT"<script>window.location.replace('/osceolacounty')</script>";
- }
- if (($theZip == 'river-valley') || ($theZip == 'davenport')) {PRINT"<script>window.location.replace('/rivervalley')</script>";}
- if (($theZip >= 50001) && ($theZip <= 52809) || ($theZip == 'iowa')) {
- PRINT"<script>window.location.replace('/search-nearby/?state=iowa')</script>";
- }
- if (($theZip == 52333-0416) || ($theZip == 'eastern-iowa') || ($theZip == 'Solon')){PRINT"<script>window.location.replace('/easterniowa')</script>";}
- if (($theZip == 52101) || ($theZip == 'tri-state-valley') || ($theZip == 'decorah')) {PRINT"<script>window.location.replace('/tristatevalley')</script>";}
- if (($theZip >= 01001) && ($theZip <= 02791) || ($theZip == 'massachusetts') || ($theZip == 'essex-county') || ($theZip == 'essex') || ($theZip == 'methuen')) {PRINT"<script>window.location.replace('/essexcounty')</script>";}
- if (($theZip >= 20331) && ($theZip <= 20331) || ($theZip == 'maryland') || ($theZip == 'delmarva-peninsula') || ($theZip == 'delmarva') || ($theZip == 'salisbury')) { PRINT"<script>window.location.replace('/delmarva')</script>";}
- if (($theZip == 'eastern-michigan') || ($theZip == 'fort-gratiot') || ($theZip == 'gratiot')) { PRINT"<script>window.location.replace('/easternmichigan')</script>";}
- if (($theZip >= 48001) && ($theZip <= 49971) || ($theZip == 'michigan')) {
- PRINT"<script>window.location.replace('/search-nearby/?state=michigan')</script>";}
- if (($theZip == 'northwest-michigan') || ($theZip == 'traverse-city') || ($theZip == 'traverse')) {
- PRINT"<script>window.location.replace('/nwmichigan')</script>";
- }
- if (($theZip >= 48001) && ($theZip <= 49971) || ($theZip == 'ottawa-county') || ($theZip == 'ottawa') || ($theZip == 'grand-haven') || ($theZip == 49696) || ($theZip == 'haven')) {
- PRINT"<script>window.location.replace('/search-nearby/?state=michigan')</script>";
- }
- if (($theZip == 55707) || ($theZip == 'northland') || ($theZip == 'barnum')) {
- PRINT"<script>window.location.replace('/northland')</script>";
- }
- if (($theZip == 55448) || ($theZip == 'central-minnesota') || ($theZip == 'coon-rapids') || ($theZip == 'rapids') || ($theZip == 'coon')) { PRINT"<script>window.location.replace('http://www.sparklewashcmn.com')</script>";
- }
- if (($theZip >= 55001) && ($theZip <= 56763) || ($theZip == 'minnesota')) {
- PRINT"<script>window.location.replace('/search-nearby/?state=minnesota')</script>";
- }
- if (($theZip >= 27006) && ($theZip <= 28909) || ($theZip == 'north-carolina') || ($theZip == 'carolina') || ($theZip == 'coon-rapids') || ($theZip == 'cutting-edge') || ($theZip == 'charlotte')) {
- PRINT"<script>window.location.replace('/charlotte')</script>";
- }
- if (($theZip >= 88901) && ($theZip <= 89883) || ($theZip == 'nevada') || ($theZip == 'las-vegas')) {
- PRINT"<script>window.location.replace('/cleanworld')</script>";
- }
- if (($theZip >= 10001) && ($theZip <= 14975) || ($theZip == 'new-york') || ($theZip == 'port-crane') || ($theZip == 'crane')) {
- PRINT"<script>window.location.replace('/southerntier')</script>";
- }
- if (($theZip >= 43001) && ($theZip <= 45999) || ($theZip == 'ohio')) {
- PRINT"<script>window.location.replace('/search-nearby/?state=ohio')</script>";
- }
- if (($theZip == 44312) || ($theZip == 'akron')) {
- PRINT"<script>window.location.replace('/northcentralohio')</script>";
- }
- if (($theZip == 44146) || ($theZip == 'cuyahoga') || ($theZip == 'oakwood')) {
- PRINT"<script>window.location.replace('/cuyahogacounty')</script>";
- }
- if (($theZip == 44060) || ($theZip == 'lake-county') || ($theZip == 'lake') || ($theZip == 'mentor')) {
- PRINT"<script>window.location.replace('/lakecounty')</script>";
- }
- if (($theZip == 45802) || ($theZip == 'lima') || ($theZip == 'lima')) {
- PRINT"<script>window.location.replace('/lima')</script>";
- }
- if (($theZip == 'L7L4J7') || ($theZip == 'burlington') || ($theZip == 'l7l 4j7') || ($theZip == 'toronto') || ($theZip == 'ontario') || ($theZip == 'hamilton')) {
- PRINT"<script>window.location.replace('/trefethen')</script>";
- }
- if (($theZip == 97475) || ($theZip == 'oregon') || ($theZip == 'lane-county') || ($theZip == 'lane') || ($theZip == 'springfield')) {
- PRINT"<script>window.location.replace('/lanecounty')</script>";
- }
- if (($theZip >=15001) && ($theZip <= 19640) || ($theZip == 'pennsylvania')) {
- PRINT"<script>window.location.replace('/search-nearby/?state=pennsylvania')</script>";
- }
- if (($theZip == 19540-9745) || ($theZip == 'mohnton') || ($theZip == 'lane-county') || ($theZip == 'berks') || ($theZip == 'berks-county')) { PRINT"<script>window.location.replace('/berkscounty')</script>";
- }
- if (($theZip == 15220) || ($theZip == 'pittsburgh') || ($theZip == 'allegheny-county') || ($theZip == 'allegheny')) {
- PRINT"<script>window.location.replace('/alleghenycounty')</script>";
- }
- if (($theZip == 17402) || ($theZip == 'york-county') || ($theZip == 'york')) {
- PRINT"<script>window.location.replace('/york')</script>";
- }
- if (($theZip == 15857) || ($theZip == 'st-marys')) {
- PRINT"<script>window.location.replace('/saintmary')</script>";
- }
- if (($theZip == 51101) || ($theZip == 'siouxland') || ($theZip == 'south-dakota') || ($theZip == 'dakota') || ($theZip == 'humboldt')) {
- PRINT"<script>window.location.replace('/siouxland')</script>";
- }
- if (($theZip >= 73301) && ($theZip <= 79000) || ($theZip == 'texas')) {
- PRINT"<script>window.location.replace('/search-nearby/?state=texas')</script>";
- }
- if (($theZip == 57035) || ($theZip == 'two-rivers') || ($theZip == 'rivers') || ($theZip == 'new-braunfels')) {
- PRINT"<script>window.location.replace('/tworivers')</script>";
- }
- if (($theZip == 77380) || ($theZip == 'lone-star') || ($theZip == 'lone') || ($theZip == 'star') || ($theZip == 'woodlands')) {
- PRINT"<script>window.location.replace('/woodlands')</script>";
- }
- if (($theZip >= 22001) && ($theZip <= 24658) || ($theZip == 'virginia')) {
- PRINT"<script>window.location.replace('/search-nearby/?state=virginia')</script>";
- }
- if (($theZip == 24068) || ($theZip == 'valley') || ($theZip == 'christiansburg')) {
- PRINT"<script>window.location.replace('/newrivervalley')</script>";
- }
- if (($theZip == 23235) || ($theZip == 'central-virginia') || ($theZip == 'richmond')) {
- PRINT"<script>window.location.replace('/centralvirginia')</script>";
- }
- if (($theZip >=98001 ) && ($theZip <= 99403) || ($theZip == 'washington')) {
- PRINT"<script>window.location.replace('/search-nearby/?state=washington')</script>";
- }
- if (($theZip == 98321) || ($theZip == 'northwest') || ($theZip == 'buckley')) {
- PRINT"<script>window.location.replace('/northwest')</script>";
- }
- if (($theZip == 98082) || ($theZip == 'mill-creek') || ($theZip == 'mill') || ($theZip == 'creek')) {
- PRINT"<script>window.location.replace('/pugetsound')</script>";
- }
- if (($theZip >=53001) && ($theZip <= 54990) || ($theZip == 'wisconsin')) {
- PRINT"<script>window.location.replace('/search-nearby/?state=wisconsin')</script>";
- } //Wisconsin
- if (($theZip == 54702) || ($theZip == 'eau-claire') || ($theZip == 'eau') || ($theZip == 'claire')) {
- PRINT"<script>window.location.replace('/eauclaire')</script>";
- }
- if (($theZip == 54937) || ($theZip == 'fox') || ($theZip == 'valley') || ($theZip == 'fond-du-lac')) {
- PRINT"<script>window.location.replace('/foxvalley')</script>";
- }
- if (($theZip == 54452) || ($theZip == 'merrill')) {
- PRINT"<script>window.location.replace('/northwisconsin')</script>";
- }
- if (($theZip == 54426-9409) || ($theZip == 'washing') || ($theZip == 'edgar')) {
- PRINT"<script>window.location.replace('/centralstatewashing')</script>";
- }
- if (($theZip == 53048) || ($theZip == 'lomira')) {
- PRINT"<script>window.location.replace('/eastwisconsin')</script>";
- }
- if (($theZip == 26554) || ($theZip == 'fairmont') || ($theZip == 'west-virginia')) {
- PRINT"<script>window.location.replace('/northcentralwv')</script>";
- }
- endif;
- ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
- <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
- <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
- <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
- <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
- <script src="<?php bloginfo('template_url'); ?>/js/bootstrap.min.js"></script>
- <script src="<?php bloginfo('template_url'); ?>/js/js.js"></script>
- <script src="<?php bloginfo('template_url'); ?>/js/owl.carousel.min.js"></script>
- <link href="<?php bloginfo('template_url'); ?>/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
- <link href="<?php bloginfo('template_url'); ?>/style.css" rel="stylesheet" type="text/css" />
- <link href="<?php bloginfo('template_url'); ?>/css/hover.css" rel="stylesheet" type="text/css" />
- <link href="<?php bloginfo('template_url'); ?>/css/owl.carousel.css" rel="stylesheet" type="text/css" />
- <link rel='stylesheet' media='screen and (min-width: 320px) and (max-width: 768px)' href='<?php bloginfo('template_url'); ?>/css/xs device css.css' />
- <link rel='stylesheet' media='screen and (min-width: 769px) and (max-width: 992px)' href='<?php bloginfo('template_url'); ?>/css/sm device css.css' />
- <link rel='stylesheet' media='screen and (min-width: 993px) and (max-width: 1199px)' href='<?php bloginfo('template_url'); ?>/css/md device css.css' />
- <link rel='stylesheet' media='screen and (min-width: 1200px) and (max-width: 2000px)' href='<?php bloginfo('template_url'); ?>/css/lg device css.css' />
- <title><?php bloginfo('name'); ?>/</title>
- <?php wp_head(); ?>
- </head>
- <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
- <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
- <!--[if lt IE 9]>
- <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
- <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
- <script src="<?php bloginfo('template_url'); ?>/js/respond.js"></script>
- <![endif]-->
- <style>
- #gform_submit_button_89{
- background-color: red;
- width: 100%;
- border: 0px;
- border-radius: 0px;
- color: white;
- font-family: bebas-neue;
- font-size: 30px;
- }
- #field_89_1 > label,#field_89_2 > label,#field_89_9 > label,#field_89_12 > label,#field_89_13 > label{
- display: none;
- }
- input[type="text"]{
- background: rgba(195, 195, 195, 0.01);
- border: 1px solid white;
- color: white;
- width: 100% !important;
- }
- ::-webkit-input-placeholder { /* WebKit browsers */
- color: white;
- }
- :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
- color: white;
- opacity: 1;
- }
- ::-moz-placeholder { /* Mozilla Firefox 19+ */
- color: white;
- opacity: 1;
- }
- :-ms-input-placeholder { /* Internet Explorer 10+ */
- color: white;
- }
- </style>
- <body>
- <!--------------------------------Top gray area start------------------------- -->
- <div class="container-fluid top-gray">
- <div class="container ">
- <div class="row">
- <div class="col-md-4 col-sm-6">
- <p class="abt-ctct-text"><a href="<?php the_field('page_url_1', 'options'); ?>"><?php the_field('page_name_1', 'options'); ?></a> | <a href="<?php the_field('page_url_2', 'options'); ?>"><?php the_field('page_name_2', 'options'); ?></a></p>
- </div>
- <div class="col-md-1"></div>
- <div class="col-md-3 col-sm-3 col-xs-12">
- <p class="contact text-center">800.321.0770</p>
- </div>
- <div class="col-md-4 franchise col-sm-3 col-xs-12">
- <p class="text-center top-txt"><a href="http://sparklewashfranchise.com" class="white">Franchise Opportunities</a></p>
- </div>
- </div>
- </div>
- </div>
- <!--------------------------------Top gray area end--------------------------->
- <!--------------------------------Header area start------------------------- -->
- <div class="clearfix"> </div>
- <div class="container header">
- <div class="row">
- <div class="col-md-4 col-sm-4 col-xs-12">
- <a href="/"><img src="<?php bloginfo('template_url'); ?>/images/logo.png" class="img-responsive" alt="logo"/></a>
- </div>
- <div class="col-md-8 col-sm-8 col-xs-12">
- <div class="navbar navbar-inverse navabar-inverse-for-dropdown">
- <!-- button section start -->
- <span class="icon-bar"></span>
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <!-- button section end -->
- <?php
- wp_nav_menu( array(
- 'menu' => 'top',
- 'theme_location' => 'top',
- 'depth' => 2,
- 'container' => 'div',
- 'container_class' => 'collapse navbar-collapse pers',
- 'container_id' => '',
- 'menu_class' => 'nav navbar-nav down-menues pull-right menu',
- 'fallback_cb' => 'wp_bootstrap_navwalker::fallback',
- 'walker' => new wp_bootstrap_navwalker())
- );
- ?>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!--------------------------------Header area end----------------------------->
- <style>
- #home {
- background: url(<?php the_field('fbimage', 'options'); ?>) 50% 0 scroll;
- height: auto;
- margin: 0 auto;
- width: 100%;
- position: relative;
- padding: 20px 0;
- background-position:center;
- -webkit-background-size: cover;
- -moz-background-size: cover;
- -o-background-size: cover;
- background-size: cover;
- width: 100%;
- }
- </style>
- <!--------------------------------parallax area start--------------------------- -->
- <section id="home" class="section" data-stellar-background-ratio="0.5">
- <div class="container">
- <div class="row">
- <div class="col-md-7 big-word">
- <h1><?php the_field('form_text','options'); ?> </h1>
- </div>
- <div class="col-md-5 formarea">
- <div class="form-group">
- <?php gravity_form( 89, false, false, false, '', false, $tabindex = 4 ); ?>
- </div>
- </div>
- </div>
- </div>
- </section>
- <!--------------------------------parallax area end----------------------------->
- <!--------------------------------local area start--------------------------- -->
- <div class="container-fluid local">
- <div class="container">
- <div class="row ">
- <div class="col-md-12">
- <h2 class="text-center"><?php the_field('service_title','options'); ?></h2>
- <?php the_field('service_text','options'); ?>
- </div>
- <div class="col-md-2"></div>
- </div>
- </div>
- </div>
- <!--------------------------------local area end----------------------------->
- <!--------------------------------search area start--------------------------- -->
- <div class="container-fluid red-bg">
- <div class="container">
- <div class="row">
- <div class="col-md-12 col-sm-12">
- <h3 class="text-center"><?php the_field('search_text','options'); ?></h3>
- </div>
- <div class="col-md-12 dark-red col-sm-12">
- <div class="col-md-10 left-spacing col-sm-12">
- <form method="GET" action="/">
- <div class="form-group">
- <input type="text" class="search-input" name="state" id="state" placeholder="Enter state, zip code, or province">
- <!--<input type="text" class="search-input" name="state" id="exampleInputEmail1" placeholder="Enter state, zip code, or province">-->
- </div>
- </div>
- <div class="col-md-2 left-spacing right-spacing col-sm-12">
- <style>input[type="submit"]{ font-family: bebas-neue; }</style>
- <a href="http://sparklewash.com/location/"><input type="submit" class="btn btn-primary col-md-12 search col-sm-12 col-xs-12" value="SEARCH"></a>
- <!-- <input type="submit" class="btn btn-primary col-md-12 search col-sm-12 col-xs-12" value="SEARCH"> -->
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- <!--------------------------------search area end----------------------------->
- <!--------------------------------services area start--------------------------- -->
- <div class="container-fluid services">
- <div class="row">
- <div class="col-md-12 col-sm-12">
- <h2 class="text-center">SERVICES WE OFFER!</h2>
- </div>
- <div class="col-md-12 col-sm-12"><!--slider start-->
- <div class="owl-carousel">
- <?php if( have_rows('offer', 'options') ):
- while ( have_rows('offer', 'options') ) : the_row(); ?>
- <div class="owl-item">
- <img src="<?php the_sub_field('offer_image'); ?>" class="img-responsive center-block" />
- <div class="slider-txt text-center"><?php the_sub_field('offer_text'); ?></div>
- <div class="gray-area">
- <h3 class="text-center red-txt"><?php the_sub_field('offer_title'); ?></h3>
- </div>
- <a href="<?php the_sub_field('offer_url'); ?>" ><button type="button" class="btn btn-primary center-block red-btn slider-btn">LEARN MORE</button></a>
- </div>
- <?php endwhile; endif; ?>
- </div>
- <!--owl end-->
- </div><!--slider end-->
- </div>
- </div>
- <!--------------------------------services area end----------------------------->
- <!--------------------------------services 2nd area start--------------------------- -->
- <div class="container-fluid">
- <div class="row">
- <div class="col-md-12 col-lg-12 col-sm-12 col-xs-12 ">
- <div class="owl-carousel2">
- <?php if( have_rows('corusel', 'options') ):
- while ( have_rows('corusel', 'options') ) : the_row(); ?>
- <div class="owl-item">
- <div class="col-md-4 blue-bg-area col-lg-4 col-sm-4 col-xs-12">
- <div class="service-heading"><?php the_sub_field('blueblock_title'); ?></div>
- <div class="service-sub"><?php the_sub_field('blueblock_text'); ?></div>
- </div>
- <div class="col-md-4 col-lg-4 col-sm-4 col-xs-12 spacing">
- <div class="col-md-12 left-spacing right-spacing col-sm-12 col-xs-12 hidden-xs">
- <img src="<?php the_sub_field('image_1'); ?>" class="img-responsive" />
- </div>
- <div class="col-md-12 left-spacing right-spacing red-service-area col-lg-12 col-sm-12 col-xs-12">
- <div class="service-heading text-center"><?php the_sub_field('block_1_title'); ?></div>
- <div class="service-sub text-center"><?php the_sub_field('block_1_text'); ?> </div>
- </div>
- </div>
- <div class="col-md-4 left-spacing col-lg-4 col-sm-4 col-xs-12">
- <div class="col-md-12 left-spacing right-spacing red-service-area2">
- <div class="service-heading text-center"><?php the_sub_field('block_2_title'); ?></div>
- <div class="service-sub text-center"><?php the_sub_field('block_2_text'); ?> </div>
- </div>
- <div class="col-md-12 left-spacing right-spacing cleang3 col-lg-12 col-sm-12 hidden-xs">
- <img src="<?php the_sub_field('image_2'); ?> " class="img-responsive" />
- </div>
- </div>
- </div>
- <?php endwhile; endif; ?>
- </div>
- <!--owl end-->
- </div>
- </div>
- </div>
- <!--------------------------------services 2nd area end----------------------------->
- <!--------------------------------Testiomonial area start--------------------------- -->
- <div class="container-fluid testimonial">
- <div class="container">
- <div class="row">
- <div class="col-md-4 ">
- <p class="customer-heading text-center"><b><?php the_field('title','options'); ?></b></p>
- </div>
- <div class="col-md-4">
- <div class="col-md-12 testimonials">
- <ul class="stars">
- <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
- <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
- <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
- <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
- <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
- </ul>
- <div class="testi-sub"><?php the_field('text_1','options'); ?></div>
- </div>
- </div>
- <div class="col-md-4">
- <div class="col-md-12 testimonials">
- <ul class="stars">
- <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
- <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
- <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
- <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
- <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
- </ul>
- <div class="testi-sub"><?php the_field('text_2','options'); ?></div>
- </div>
- </div>
- </div>
- <div class="row top-spacing">
- <div class="col-md-7">
- <div class="col-md-12 testimonials">
- <ul class="stars">
- <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
- <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
- <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
- <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
- <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
- </ul>
- <div class="testi-sub"><?php the_field('text_3','options'); ?></div>
- </div>
- </div>
- <div class="col-md-5">
- <div class="col-md-12 testimonials">
- <ul class="stars">
- <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
- <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
- <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
- <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
- <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
- </ul>
- <div class="testi-sub"><?php the_field('text_4','options'); ?></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!--------------------------------Testiomonial area end----------------------------->
- <!--------------------------------footer area start--------------------------- -->
- <div class="container-fluid footer-area">
- <div class="container">
- <div class="row">
- <div class="col-md-6">
- <p class="white-txt copy-right">© 2016 Sparkle Wash International | <a href="https://sparklewash.com/privacy-policy/">Privacy Policy</a></p>
- </div>
- <div class="col-md-6">
- <ul class="social pull-right">
- <li><a href="#"><img src="<?php bloginfo('template_url'); ?>/images/fb.png" class="img-responsive" /></a></li>
- <li><a href="#"><img src="<?php bloginfo('template_url'); ?>/images/twiter.png" class="img-responsive" /></a></li>
- <li><a href="#"><img src="<?php bloginfo('template_url'); ?>/images/gplus.png" class="img-responsive" /></a></li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- <!--------------------------------footer area end--------------------------- -->
- <?php wp_footer(); ?>
- </body>
- </html>
- <script>
- $(document).ready(function(){
- $('.owl-carousel').owlCarousel({
- margin: 0,
- loop: true,
- items: 1,
- stagePadding: 250,
- nav: true,
- responsiveClass:true,
- pagination: false,
- navText : false,
- responsive:{
- 0:{
- items:1,
- nav:true,
- navText : false,
- pagination: false,
- loop:true,
- stagePadding: 0,
- },
- 1024:{
- items:1,
- nav:true,
- navText : false,
- pagination: false,
- loop:true,
- stagePadding: 250,
- },
- }
- })
- });
- </script>
- <script>
- $(document).ready(function(){
- $('.owl-carousel2').owlCarousel({
- margin: 0,
- loop: true,
- items: 1,
- stagePadding: 250,
- nav:true,
- navText : false,
- responsiveClass:true,
- responsive:{
- 0:{
- items:1,
- nav:true,
- navText : false,
- loop:true,
- stagePadding: 0,
- },
- 1024:{
- items:1,
- nav:true,
- navText : false,
- loop:true,
- stagePadding: 100,
- },
- }
- })
- });
- </script>
- <script>
- var owl = $('.owl-carousel3');
- owl.owlCarousel({
- items:1,
- loop:true,
- margin:10,
- autoplay: false,
- autoplayTimeout:1000,
- autoplayHoverPause:true
- });
- $('.play').on('click',function(){
- owl.trigger('autoplay.play.owl',[1000])
- })
- $('.stop').on('click',function(){
- owl.trigger('autoplay.stop.owl')
- })
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement