'resizer', 'script' => 'assets/js/sticky/ResizeSensor.js', ), array( 'handler' => 'sticky', 'script' => 'assets/js/sticky/theia-sticky-sidebar.js', 'version' => '1.7.0' ), array( 'handler' => 'newslist-mag', 'script' => 'assets/js/newslist-mag-script.js', 'version' => '1.0', 'minified' => false, 'localize' => array( 'key' => 'NEWSLISTMAG', 'data' => array( 'heroNewsAutoPlay' => newslist_get( 'hero-news-autoplay' ) == true ? 1 : 0, 'heroNewsShowArrows' => newslist_get( 'hero-news-show-arrows' ) == true ? 1 : 0 ) ) ) ); Newslist_Helper::enqueue( $scripts ); } public function disable_inner_banner( $disable ){ if( is_home() ){ $disable = true; } return $disable; } public function hero_news(){ if( is_home() || is_front_page() ){ get_template_part( 'hero', 'news' ); } } public static function header_advertisement( $args ){ $banner_image = $args[ 'image' ]; $banner_new_tab = $args[ 'new-tab' ]; if( $banner_new_tab) : $style = 'target="_blank" '; else : $style = ''; endif; if( '' != $banner_image) : ?>
> <?php echo esc_attr( $alt ); ?>