Example #1
0
		<?php 
if (ot_get_option('ut_google_analytics')) {
    ?>
          
          (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
            (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
            m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
            })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

          ga('create', '<?php 
    echo stripslashes(ot_get_option('ut_google_analytics'));
    ?>
', 'auto');
          ga('send', 'pageview');
		  
		<?php 
}
?>
		     
     /* ]]> */
    </script>    
    
    </div><!-- close #main-content -->
    
    <?php 
echo ut_create_bg_videoplayer('body');
?>
    
                   
    </body>
</html>
Example #2
0
    $ut_second_hero_button_url_type = ut_return_hero_config('ut_second_hero_button_url_type', 'section');
    $ut_second_hero_button_target = ut_return_hero_config('ut_second_hero_button_target');
    $ut_second_hero_button_url = ut_return_hero_config('ut_second_hero_button_url');
    $ut_second_hero_button_style = ut_return_hero_config('ut_second_hero_button_style', 'default');
    $ut_second_hero_button_settings = ut_return_hero_config('ut_second_hero_button_settings');
}
?>

<!-- hero section -->
<section id="ut-hero" class="<?php 
echo !empty($ut_video_source) && $ut_video_source == 'custom' ? 'ut-single-video' : '';
?>
 hero ha-waypoint parallax-section parallax-background" data-animate-up="ha-header-hide" data-animate-down="ha-header-hide">
    
    <?php 
echo ut_create_bg_videoplayer('section');
?>
    
    <?php 
/* overlay effect for hero */
?>
        
        <?php 
if (ut_return_hero_config('ut_hero_overlay') == 'on') {
    ?>
        
        <div class="parallax-overlay <?php 
    echo $ut_hero_overlay_pattern;
    ?>
 <?php 
    echo ut_return_hero_config('ut_hero_overlay_pattern_style', 'style_one');