示例#1
0
function hocwp_show_float_ads()
{
    ?>
	<div class="<?php 
    hocwp_wrap_class('float-ads');
    ?>
">
		<div class="pull-left">
			<?php 
    hocwp_show_ads('float_left');
    ?>
		</div>
		<div class="pull-right">
			<?php 
    hocwp_show_ads('float_right');
    ?>
		</div>
	</div>
	<?php 
}
<div class="logo-area top-header">
	<div class="<?php 
hocwp_wrap_class();
?>
">
		<div class="row">
			<div class="col-sm-4 col-xs-12 logo">
				<?php 
hocwp_theme_the_logo();
?>
			</div>
			<div class="col-sm-8 col-xs-12 right-logo">
				<?php 
hocwp_show_ads('leaderboard');
?>
			</div>
		</div>
	</div>
</div>
<div class="primary-menus">
	<div class="<?php 
hocwp_wrap_class();
?>
">
		<div class="row">
			<div class="col-xs-12">
				<?php 
hocwp_theme_the_menu(array('theme_location' => 'primary'));
?>
			</div>
		</div>