Example #1
0
 function shortcode($atts)
 {
     extract(shortcode_atts(array('type' => false, 'include' => false), $atts));
     if ('form' == $type) {
         return $this->form($include);
     }
     return contact_detail($type, false, false, false);
 }
Example #2
0
	<?php 
echo do_shortcode("[CONTACT_FORM_TO_EMAIL id='1']");
?>

	</div>

	<div id="home-map" class="inline-pair">

			<div id="home-address" style="margin: 10rem 0 0;">
		<?php 
if (function_exists('contact_detail')) {
    echo contact_detail('phone') . ' phone <br />';
    echo contact_detail('fax') . ' fax <br />';
    echo contact_detail('mobile') . ' toll-free';
    echo '<p>';
    contact_detail('address');
    echo '</p>';
}
?>
.
			</div>


	<?php 
echo do_shortcode("[wpgmza id='1']");
?>

	</div>
</div>
</section><!-- #home-fourth -->
Example #3
0
</div>
<div class="container">
    <div class="footer-bar">
        <div class="f-bar-bg">   
            <div class="row">
            	<div class="col-xs-12 col-sm-12 col-md-4 col-lg-5">
                        <?php 
$contact_fax = contact_detail('fax', '', '', false);
$contact_line1 = contact_detail('address_line_1', '', '', false);
$contact_line2 = contact_detail('address_line_2', '', '', false);
$contact_city = contact_detail('address_city', '', '', false);
$contact_state = contact_detail('address_state', '', '', false);
$contact_zipcode = contact_detail('address_zipcode', '', '', false);
$phone_new = contact_detail('phone_new', '', '', false);
$phone_current = contact_detail('phone_current', '', '', false);
$google_maps = contact_detail('google_maps', '', '', false);
?>
                        <a href="<?php 
echo $google_maps;
?>
" title="<?php 
bloginfo('name');
?>
" class="f-map">
                            <img src="<?php 
bloginfo('template_url');
?>
/i/map-small.jpg" alt="<?php 
bloginfo('name');
?>
" class="img-responsive img-thumbnail"/>
Example #4
0
if (function_exists('contact_detail')) {
    contact_detail('phone_gliwice_2');
}
?>
">
                        <?php 
if (function_exists('contact_detail')) {
    contact_detail('phone_gliwice_2');
}
?>
                    </a>
                </p>
                <p class="contact__office-hours">
                    <?php 
if (function_exists('contact_detail')) {
    contact_detail('office_gliwice');
}
?>
                </p>
            </div><!--
            --><div class="grid__item palm-hide desk--one-twelfth"></div><!--
            --><div class="grid__item desk--one-third">
                <p class="contact__column-headline contact__column-headline--center">Napisz do nas</p>
                <?php 
if (get_field('contact_form')) {
    the_field('contact_form');
}
?>
            </div>
        </div>
    </div>
Example #5
0
if (function_exists('contact_detail')) {
    contact_detail('mobile');
}
?>
</td>
            </tr>
            <tr>
                <td><span><?php 
if (function_exists('contact_detail')) {
    contact_detail('woonplaats');
}
?>
</span></td>
                <td><span>e&nbsp;</span><?php 
if (function_exists('contact_detail')) {
    contact_detail('email');
}
?>
</td>
            </tr>
        </table> 
    </div>
    <div class="ito-nav-bar-search">        
        <div class="ito-nav-bar">        
            <ul class="ito-nav-ul" style="text-align:left"><?php 
wp_list_categories('orderby=order&depth=1&title_li=');
?>
</ul>    
        </div>
    </div>
</div>
Example #6
0
</section><!-- #home-third -->

<section id="fourth"  style="padding: 10rem 0;" class="row-fluid">
	
	<div id="home-fourth">

	<div style="padding: 10rem 0; text-align:left;float:left;width:50%;">

 <?php 
if (function_exists('contact_detail')) {
    echo '<p>Call us at: ';
    contact_detail('phone');
    echo '<br /> or in the US at: ';
    contact_detail('mobile');
    echo '<br />In NoVA, please visit our showroom at: <br /> ';
    contact_detail('address') . '</p>';
}
?>
</div>
	<div style="text-align:left;float:left;width:50%;">

	<?php 
echo do_shortcode("[CONTACT_FORM_TO_EMAIL id='1']");
?>

</div>

</section><!-- #home-fourth -->

<section id="fifth" class="row-fluid">