File: /home/slyfwmm/studiomilighetti/wp-content/themes/domik/footer-innershop.php
<?php
/* banner-php */
$right_parallax_bg = '';
?>
</div><!-- end .col-->
</div><!-- end .row-->
</section>
</div><!-- end .domik-shop-->
</section>
</div><!-- end .wrapper-inner-->
<?php
if(is_tax('skill')){
$t_id = get_queried_object()->term_id;
$term_meta = get_option( "taxonomy_$t_id" );
if($term_meta !== false){
//echo '<pre>';var_dump($term_meta);die;
if(isset($term_meta['right_image']['url'])){
$right_parallax_bg = $term_meta['right_image']['url'];
}
}
}elseif(is_singular()){
$right_parallax_bg = get_post_meta(get_queried_object_id(), "_cmb_right_parallax_bg", true);
}
?>
<?php
if ($right_parallax_bg != '') { ?>
<!-- parallax column skill + singular -->
<div class="img-wrap hide_with_full">
<div class="bg" style="background-image: url(<?php echo esc_url($right_parallax_bg); ?>)" data-top-bottom="transform: translateY(300px);" data-bottom-top="transform: translateY(-300px);"></div>
</div>
<?php
if(is_active_sidebar('right_social_widget')){
?>
<div class="socials-widget">
<?php dynamic_sidebar('right_social_widget');?>
</div>
<?php
}?>
<?php
}elseif ( domik_global_var('right_parallax_bg','url',true) ) { ?>
<!-- parallax column - global -->
<div class="img-wrap hide_with_full">
<div class="bg" style="background-image: url(<?php echo esc_url( domik_global_var('right_parallax_bg','url',true) ); ?>)" data-top-bottom="transform: translateY(300px);" data-bottom-top="transform: translateY(-300px);"></div>
</div>
<?php
if(is_active_sidebar('right_social_widget')){
?>
<div class="socials-widget">
<?php dynamic_sidebar('right_social_widget');?>
</div>
<?php
}?>
<?php
}
if (domik_get_option('show_to_top')): ?>
<div class="to-top">
<?php echo domik_get_option('to_top_icon'); ?>
</div>
<?php
endif;
if (domik_get_option('footer_info') || !domik_get_option('footer_copyright')): ?>
<div class="height-emulator"></div>
<footer class="domik-footer">
<div class="footer-inner">
<?php
echo domik_get_option('footer_info'); ?>
<?php
echo domik_get_option('footer_copyright');?>
</div>
<span class="footer-decor"></span>
</footer>
<?php
endif; ?>
</div>