Example #1
0
 static function components()
 {
     # enqueue scripts for admin area
     self::enqueue_assets();
     # call once after theme was activated
     Bw_after_activation::init();
     # admin ajax
     Bw_admin_ajax::init();
     # custom metabox
     Bw_metabox::init();
     # init themeforest auto updater
     Bw_updater::init();
     # enables the use of megamenu
     Bw_megamenu::init();
 }
Example #2
0
			<?php 
}
?>
			
		</div>
	</div>
	
	<div class="row-holder <?php 
echo Bw::get_option('sticky_header') ? 'enable-sticky' : '';
?>
 <?php 
echo Bw::get_option('invert_header_nav_color') ? 'invert' : '';
?>
">
		<div class="row for-sub-header">
			<nav id="navigation">
				<?php 
Bw_megamenu::main_nav();
?>
			</nav>
			
			<!-- social icons -->
			<?php 
Bw::go_social();
?>
		</div>
	</div>
	
	<span id="mobile-toggle"><i></i></span>
	
</header>