本文整理汇总了PHP中tha_sidebars_before函数的典型用法代码示例。如果您正苦于以下问题:PHP tha_sidebars_before函数的具体用法?PHP tha_sidebars_before怎么用?PHP tha_sidebars_before使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了tha_sidebars_before函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: tha_sidebars_before
<?php
/**
* The Sidebar containing the main widget areas.
*
* @package wolf
*/
?>
<?php
tha_sidebars_before();
?>
<div id="secondary" class="widget-area" role="complementary">
<?php
tha_sidebar_top();
?>
<?php
do_action('before_sidebar');
?>
<?php
if (!dynamic_sidebar('sidebar-primary')) {
?>
<aside id="search" class="widget widget_search">
<?php
get_search_form();
?>
</aside>
<aside id="archives" class="widget">
示例2: fastfood_hook_sidebars_before
function fastfood_hook_sidebars_before($location = 'every')
{
tha_sidebars_before();
do_action('fastfood_hook_sidebars_before');
do_action('fastfood_hook_' . $location . '_sidebar_before');
}
示例3: wallow_hook_sidebars_before
/**
* the sidebars section
*
* currently supported $location:
* - primary -> sidebar.php
* - secondary -> sidebar-secondary.php
* - header -> sidebar-header.php
* - footer -> sidebar-footer.php
* - error404 -> sidebar-error404.php
*/
function wallow_hook_sidebars_before($location = 'undefined')
{
tha_sidebars_before();
do_action('wallow_hook_sidebars_before');
do_action('wallow_hook_' . $location . '_sidebar_before');
}
示例4: highwind_sidebar_before
/**
* Highwind before sidebar action
* @since 1.0
*/
function highwind_sidebar_before()
{
do_action('highwind_sidebar_before');
tha_sidebars_before();
}
示例5: responsive_widgets_before
/**
* Just before opening <div id="widgets">
*
* @see sidebar.php
*/
function responsive_widgets_before()
{
do_action('responsive_widgets_before');
tha_sidebars_before();
}
示例6: shiword_hook_sidebars_before
/**
* the sidebars section
*
* currently supported $location:
* - primary -> sidebar-primary.php
* - secondary -> sidebar-secondary.php
* - header -> sidebar-header.php
* - footer -> sidebar-footer.php
* - single -> sidebar-single.php
* - error404 -> sidebar-error404.php
*/
function shiword_hook_sidebars_before($location = 'undefined')
{
tha_sidebars_before();
do_action('shiword_hook_sidebars_before');
do_action('shiword_hook_' . $location . '_sidebar_before');
}