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_sidebars_before($location = 'every')
{
    tha_sidebars_before();
    do_action('fastfood_hook_sidebars_before');
    do_action('fastfood_hook_' . $location . '_sidebar_before');
}
Exemplo n.º 3
0
/**
 * 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');
}
Exemplo n.º 4
0
/**
 * Highwind before sidebar action
 * @since 1.0
 */
function highwind_sidebar_before()
{
    do_action('highwind_sidebar_before');
    tha_sidebars_before();
}
Exemplo n.º 5
0
/**
 * Just before opening <div id="widgets">
 *
 * @see sidebar.php
 */
function responsive_widgets_before()
{
    do_action('responsive_widgets_before');
    tha_sidebars_before();
}
Exemplo n.º 6
0
/**
 * 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');
}