本文整理汇总了PHP中responsive_wrapper函数的典型用法代码示例。如果您正苦于以下问题:PHP responsive_wrapper函数的具体用法?PHP responsive_wrapper怎么用?PHP responsive_wrapper使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了responsive_wrapper函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: show_simpleresponsiveslider
show_simpleresponsiveslider();
}
?>
<?php
}
?>
<?php
responsive_header_bottom();
// after header content hook
?>
</div><!-- end of #header -->
<?php
responsive_header_end();
// after header container hook
?>
<?php
responsive_wrapper();
// before wrapper container hook
?>
<div id="wrapper" class="clearfix">
<?php
responsive_wrapper_top();
// before wrapper content hook
?>
<?php
responsive_in_wrapper();
// wrapper hook
示例2: removed
</div><!-- end of #logo -->
<?php endif; // header image was removed (again) ?>
<?php get_sidebar('top'); ?>
<?php wp_nav_menu(array(
'container' => 'div',
'container_class' => 'main-nav',
'fallback_cb' => 'responsive_fallback_menu',
'theme_location' => 'header-menu')
);
?>
<?php if (has_nav_menu('sub-header-menu', 'responsive')) { ?>
<?php wp_nav_menu(array(
'container' => '',
'menu_class' => 'sub-header-menu',
'theme_location' => 'sub-header-menu')
);
?>
<?php } ?>
<?php responsive_header_bottom(); // after header content hook ?>
</div><!-- end of #header -->
<?php responsive_header_end(); // after header container hook ?>
<?php responsive_wrapper(); // before wrapper container hook ?>
<div id="wrapper" class="clearfix">
<?php responsive_wrapper_top(); // before wrapper content hook ?>
<?php responsive_in_wrapper(); // wrapper hook ?>
示例3: home_url
<div id="logo">
<span class="site-name"><a href="<?php echo home_url('/'); ?>" title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?>" rel="home"><?php bloginfo('name'); ?></a></span>
<span class="site-description"><?php bloginfo('description'); ?></span>
</div><!-- end of #logo -->
<?php endif; // header image was removed (again) ?>
<?php get_sidebar('top'); ?>
<?php wp_nav_menu(array(
'container' => '',
'theme_location' => 'header-menu')
);
?>
<?php if (has_nav_menu('sub-header-menu', 'responsive')) { ?>
<?php wp_nav_menu(array(
'container' => '',
'menu_class' => 'sub-header-menu',
'theme_location' => 'sub-header-menu')
);
?>
<?php } ?>
</div><!-- end of #header -->
<?php responsive_header_end(); // after header hook ?>
<?php responsive_wrapper(); // before wrapper ?>
<div id="wrapper" class="clearfix">
<?php responsive_in_wrapper(); // wrapper hook ?>