Current File : /home/kelaby89/teamhachem.com/wp-content/plugins/lt-ext/shortcodes/parallax_slider/view.php
<?php if ( ! defined( 'ABSPATH' ) ) die( 'Forbidden' );
/**
 * Zoom Slider Shortcode
 */

$args = get_query_var('like_sc_parallax_slider');

$class = '';
if ( !empty($args['class']) ) $class .= ' '. esc_attr($args['class']);
if ( !empty($args['id']) ) $id = ' id="'. esc_attr($args['id']). '"'; else $id = '';

$image = ltx_get_attachment_img_url($atts['image']);
$header1 = $atts['header1'];
$header2 = $atts['header2'];


?>
<div class="ltx-home-slider">
		<?php

			if ( function_exists('ltx_nav_social_shortcode') ) {

				ltx_nav_social_shortcode( array() );
			}

		?>	
	<div class="ltx-slider-inner"><?php echo do_shortcode( $content ); ?></div>
	<div class="ltx-parallax-slider">
		<?php if ( !empty($header1) ): ?>
		<div data-depth="0.6" class="ltx-layer header-bg">
			<h2 class="header-bg"><?php echo esc_html( $header1 ); ?></h2>
		</div>
		<?php endif; ?>
		<?php if ( !empty($header2) ): ?>
		<div data-depth="0.8" class="ltx-layer header-fg">
			<h2 class="header-fg"><?php echo esc_html( $header2 ); ?></h2>
		</div>
		<?php endif; ?>		
		<?php if ( !empty($image) ): ?>
		<div data-depth="0.3" class="ltx-layer ltx-floating-image">
			<img class="ltx-floating-image" alt="bg" src="<?php echo esc_url($image[0]); ?>" >
		</div>		
		<?php endif; ?>
	</div>	
</div>
Page not found – Hello World !