本文整理匯總了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');
}