Exemplo n.º 1
0
<?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">
Exemplo n.º 2
0
function fastfood_hook_sidebar_top($location = 'every')
{
    tha_sidebar_top();
    do_action('fastfood_hook_sidebar_top');
    do_action('fastfood_hook_' . $location . '_sidebar_top');
}
Exemplo n.º 3
0
function wallow_hook_sidebar_top($location = 'undefined')
{
    tha_sidebar_top();
    do_action('wallow_hook_sidebar_top');
    do_action('wallow_hook_' . $location . '_sidebar_top');
}
Exemplo n.º 4
0
/**
 * Highwind sidebar top
 * @since 1.0
 */
function highwind_sidebar_top()
{
    do_action('highwind_sidebar_top');
    tha_sidebar_top();
}
Exemplo n.º 5
0
/**
 * Just after opening <div id="widgets">
 *
 * @see sidebar.php
 */
function responsive_widgets()
{
    do_action('responsive_widgets');
    tha_sidebar_top();
}
Exemplo n.º 6
0
function shiword_hook_sidebar_top($location = 'undefined')
{
    tha_sidebar_top();
    do_action('shiword_hook_sidebar_top');
    do_action('shiword_hook_' . $location . '_sidebar_top');
}