D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
hrfiudwx
/
enterpriseuplift.com
/
wp-content
/
themes
/
themify-ultra
/
includes
/
Filename :
header-widgets.php
back
Copy
<?php /** * Template to load header widgets. * @package themify * @since 1.0.0 */ $header_widget_option = themify_get( 'setting-header_widgets','headerwidget-3col',true ); if ( $header_widget_option !== 'none' ) : $columns = array( 'headerwidget-4col' => array( 'col4-1', 'col4-1', 'col4-1', 'col4-1' ), 'headerwidget-3col' => array( 'col3-1', 'col3-1', 'col3-1' ), 'headerwidget-2col' => array( 'col4-2', 'col4-2'), 'headerwidget-1col' => array( '') ); if ( themify_theme_has_widgets( 'header-widget-', $columns[$header_widget_option] ) ) : ?> <div class="header-widget tf_clear tf_clearfix"> <div class="header-widget-inner tf_scrollbar tf_clearfix"> <?php foreach ( $columns[$header_widget_option] as $k=>$col ) : $class = 0 === $k ? ' first' : ''; ?> <div class="<?php echo $col , $class ; ?> tf_box tf_float"> <?php dynamic_sidebar( 'header-widget-' . ($k+1) ); ?> </div> <?php endforeach; ?> </div> <!-- /.header-widget-inner --> </div> <!-- /.header-widget --> <?php endif; // end has widgets endif; // end header widget option