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