本文整理匯總了PHP中tha_sidebar_top函數的典型用法代碼示例。如果您正苦於以下問題:PHP tha_sidebar_top函數的具體用法?PHP tha_sidebar_top怎麽用?PHP tha_sidebar_top使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了tha_sidebar_top函數的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_sidebar_top
function fastfood_hook_sidebar_top($location = 'every')
{
tha_sidebar_top();
do_action('fastfood_hook_sidebar_top');
do_action('fastfood_hook_' . $location . '_sidebar_top');
}
示例3: wallow_hook_sidebar_top
function wallow_hook_sidebar_top($location = 'undefined')
{
tha_sidebar_top();
do_action('wallow_hook_sidebar_top');
do_action('wallow_hook_' . $location . '_sidebar_top');
}
示例4: highwind_sidebar_top
/**
* Highwind sidebar top
* @since 1.0
*/
function highwind_sidebar_top()
{
do_action('highwind_sidebar_top');
tha_sidebar_top();
}
示例5: responsive_widgets
/**
* Just after opening <div id="widgets">
*
* @see sidebar.php
*/
function responsive_widgets()
{
do_action('responsive_widgets');
tha_sidebar_top();
}
示例6: shiword_hook_sidebar_top
function shiword_hook_sidebar_top($location = 'undefined')
{
tha_sidebar_top();
do_action('shiword_hook_sidebar_top');
do_action('shiword_hook_' . $location . '_sidebar_top');
}