<ul id="training"> <?php while (have_rows('slides')) { the_row(); ?> <li> <div class="clearfix main-wrap"> <div class="pull-right box-one"> <?php // use image ALT if provided; otherwise use the title $image_alt = get_acf_image_alt(get_sub_field('image')); $alt = empty($image_alt) ? get_sub_field('title') : $image_alt; ?> <img src="<?php echo get_acf_image(get_sub_field('image'), 'featured-content-thumb'); ?> " alt="<?php echo htmlentities($alt); ?> " /> </div><!--right--> <div class="pull-left box-two"> <h3><?php echo get_sub_field('category'); ?> </h3> <h2><a href="<?php echo get_sub_field('call_to_action_url'); ?> "><?php
<?php if (have_rows('images')) { ?> <section id="pg-slider-wrap"> <ul id= "pg-slider"> <?php while (have_rows('images')) { the_row(); ?> <li> <img src="<?php echo get_acf_image(get_sub_field('image'), 'slideshow-module'); ?> " width="1400" height="700" alt="<?php echo get_acf_image_alt(get_sub_field('image')); ?> " /> </li> <?php } ?> </ul> </section> <?php }
echo 'class="six-across"'; } ?> > <?php while (have_posts()) { the_post(); ?> <li> <a href="<?php the_permalink(); ?> "> <div class="img-wrap"> <img src="<?php echo get_acf_image(get_field('product_page_thumbnail'), 'product-landing-thumbnail'); ?> " alt="<?php the_title(); ?> " /> <div class="hover-box"> <span class="btn white-btn">VIEW ALL</span> </div> </div> <div class="text-box"> <h3><?php the_title(); ?> </h3>
<?php if (have_rows('explore_module_links')) { ?> <ul id="service-circle"> <?php while (have_rows('explore_module_links')) { the_row(); ?> <li> <a href="<?php echo get_sub_field('link_url'); ?> "> <div class="inner-wrapper"> <div class="img-bg" style="background-image:url(<?php echo get_acf_image(get_sub_field('image'), 'sullivan-site-ad'); ?> )"> <div class="text-box"> <h3><?php echo get_sub_field('title'); ?> </h3> <span><?php echo get_sub_field('subtext'); ?> </span> </div> </div> </div> </a>
<?php /* * Template Name: Multi-Site Landing Page * * Primary landing page template (displays links to internal sites) */ get_header(); ?> <section id="landing-banner"> <ul> <li> <div class="banner-image" style="background-image:url(<?php echo get_acf_image('banner_image', 'banner-landing'); ?> );" title="<?php echo htmlentities(get_acf_image_alt('banner_image')); ?> " /></div> <div class="banner-text"> <div class="wrap"> <div class="text-box"> <div class="text-box-wrap"> <h3><?php the_field('heading'); ?> </h3> <p><?php the_field('sub-heading'); ?> </p>
"> <h2><?php the_title(); ?> </h2> <?php if (get_field('left_sidebar_image')) { ?> <div class="photo-bucket"> <img <?php if (get_field('remove_box_shadow')) { echo 'class="no-shadow"'; } ?> src="<?php echo get_acf_image('left_sidebar_image', 'interior-left-sidebar'); ?> " alt="" width="555" height="396" /> <?php if ($caption = get_field('caption')) { echo $caption; } ?> </div> <?php } ?> </div> <div class="pull-right main-right">
if (get_row_layout() == 'product_carousel') { ?> <?php $slides = 0; if (have_rows('carousel_images')) { ?> <section id="product-detail" class="pg-module"> <ul id="product-carousel"> <?php while (have_rows('carousel_images')) { the_row(); ?> <li> <img src="<?php echo get_acf_image(get_sub_field('product_image'), 'product-thumbnail'); ?> " alt="<?php echo get_acf_image_alt(get_sub_field('product_image')); ?> " /> <?php /* Removed <h5><?php echo get_sub_field('product_name');?></h5> <span><?php echo get_sub_field('product_model_name');?></span> */ ?> </li> <?php $slides++; } $slidenum = $slides - 1; ?>
if (have_rows('testimonials')) { ?> <ul id="slider2"> <?php while (have_rows('testimonials')) { the_row(); $ct = get_sub_field('content_or_testimonial'); ?> <li> <div class="clearfix box-wrapper"> <?php if (get_sub_field('image')) { ?> <div class="left-box pull-left"> <img src="<?php echo get_acf_image(get_sub_field('image'), 'testimonial-thumb'); ?> " height="115" width="280" alt="<?php echo get_acf_image_alt(get_sub_field('image')); ?> " /> </div> <?php } ?> <div class="<?php if (!get_sub_field('image')) { echo 'full-center '; } ?> right-box pull-right">
if (have_rows('slides')) { ?> <section id="pg-slider-wrap" class="top-shadow"> <ul id="pg-slider2" class="bathworks-slider"> <?php while (have_rows('slides')) { the_row(); ?> <li> <?php // use image ALT if provided; otherwise use the title $image_alt = get_acf_image_alt(get_sub_field('image')); $alt = empty($image_alt) ? get_sub_field('title') : $image_alt; ?> <img src="<?php echo get_acf_image(get_sub_field('image'), 'bathworks-home-banner'); ?> " width="1400" height="700" alt="<?php echo htmlentities($alt); ?> " /> <div class="text-box-wrapper"> <div class="text-box"> <h3><?php echo get_sub_field('title'); ?> </h3> <p><?php echo get_sub_field('subtext'); ?> </p>
<div class="box-one pull-left"> <h3><?php echo get_sub_field('headline'); ?> </h3> <p><?php echo get_sub_field('subtext'); ?> </p> </div> <div class="pull-right box-two"> <div class="icon-bg-btn"<?php if (get_sub_field('icon')) { ?> style="background-image:url(<?php echo get_acf_image(get_sub_field('icon'), 'call-to-action-banner-icon'); ?> "<?php } ?> > <a href="<?php echo get_sub_field('url'); ?> " class="btn green-btn"><?php echo get_sub_field('button_label'); ?> </a> </div> </div> </div>
<div class="header-top"> <div class="wrap clearfix"> <?php // Top Menu Desktop wp_nav_menu(array('theme_location'=>'top-menu', 'menu' => 'Top Menu', 'container' => 'nav', 'container_class'=> 'top-nav pull-right hidden-s', 'container_id'=> '', 'menu_class'=> '', 'menu_id'=>'')); ?> <?php //if($phone = get_field('phone_number', 'options')) { echo '<a class="phone" href="tel:'.$phone.'">'.$phone.'</a>'; } ?> <h1 id="logo" class="pull-left"> <?php if(get_current_blog_id() == 1){ ?> <a title="<?php bloginfo('name'); ?>" href="<?php echo get_permalink(71); ?>"> <?php } else { ?> <a title="<?php bloginfo('name'); ?>" href="<?php bloginfo('url'); ?>"> <?php } ?> <img src="<?php $img_arr = get_field('logo', 'options'); echo get_acf_image($img_arr['id'],'logo'); ?>" alt="<?php bloginfo('name'); ?>"/> </a> </h1> </div> </div><!--header-top--> <div class="main-nav-wrap"> <div class="wrap clearfix"> <?php // Main Menu Desktop wp_nav_menu(array('theme_location'=>'main-menu', 'menu' => 'Main Menu', 'container' => 'nav', 'container_class'=> 'pull-right', 'container_id'=> 'main-nav', 'menu_class'=> '', 'menu_id'=>'')); ?> <?php if (is_primary_landing_page()){ ?> <div id="landing-toggle" class="visible-s"><span></span></div>
<?php if (have_rows('rows')) { ?> <section id="pg-two-col"> <div class="wrap"> <ul> <?php while (have_rows('rows')) { the_row(); ?> <li class="clearfix"> <div class="box-one<?php echo get_sub_field('image_position') == 'left' ? ' align-left' : ' align-right'; ?> " style="background-image:url(<?php echo get_acf_image(get_sub_field('image'), 'two-column-module'); ?> );" title="<?php echo get_sub_field('headline'); ?> "></div> <div class="box-two<?php echo get_sub_field('image_position') == 'left' ? ' align-right' : ' align-left'; ?> "> <h5><?php echo get_sub_field('category'); ?> </h5> <h2><a href="<?php echo get_sub_field('url');
<?php /* * Template Name: PV Sullivan Supply Landing */ get_header(); ?> <section id="banner-wrapper"> <ul id="banner"> <li> <div class="banner-top-wrap"> <div class="banner-image" style="background-image:url(<?php echo get_acf_image('banner_image', 'sullivan-home-banner'); ?> )"/></div> <div class="banner-txt"> <div class="wrap"> <div class="v-middle-wrap"> <h3><?php echo get_field('heading'); ?> </h3> <p><?php echo get_field('subheading'); ?> </p> <a href="<?php echo get_field('call_to_action_page'); ?> " class="btn green-btn"><?php
?> </h4> </div> <?php if (have_rows('logos')) { ?> <section id="hm-logo-wrapper"> <div class="wrap-larg"> <ul id="hm-logo-carousel"> <?php while (have_rows('logos')) { the_row(); ?> <li> <a href="javascript://"><img src="<?php echo get_acf_image(get_sub_field('logo'), 'manufacturer-logo'); ?> " alt="<?php echo get_sub_field('name'); ?> " /></a> </li> <?php } ?> </ul> </div> </section> <?php }