Пример #1
0
 *
 * Template part file that contains the footer widget area
 *
 * @package fastfood
 * @since 0.15
 */
?>

<?php 
fastfood_hook_sidebars_before('footer');
?>

<div id="footer-widget-area" class="widget-area">

	<?php 
fastfood_hook_sidebar_top('footer');
?>

	<?php 
dynamic_sidebar('footer-widget-area');
?>

	<?php 
fastfood_hook_sidebar_bottom('footer');
?>

</div><!-- #footer-widget-area -->

<?php 
fastfood_hook_sidebars_after('footer');
Пример #2
0
 * Template part file that contains the widget area for
 * single posts/pages
 *
 * @package fastfood
 * @since 0.15
 */
?>

<?php 
fastfood_hook_sidebars_before('singular');
?>

<div id="post-widgets-area" class="widget-area fixfloat">

	<?php 
fastfood_hook_sidebar_top('singular');
?>

	<?php 
dynamic_sidebar('post-widgets-area');
?>

	<?php 
fastfood_hook_sidebar_bottom('singular');
?>

</div><!-- #post-widgets-area -->

<?php 
fastfood_hook_sidebars_after('singular');
Пример #3
0
 *
 * Template part file that contains the 'error404' page widget area
 *
 * @package fastfood
 * @since 0.37
 */
?>

<?php 
fastfood_hook_sidebars_before('error404');
?>

<div id="error404-widgets-area" class="widget-area">

	<?php 
fastfood_hook_sidebar_top('error404');
?>

	<?php 
dynamic_sidebar('error404-widgets-area');
?>

	<?php 
fastfood_hook_sidebar_bottom('error404');
?>

</div><!-- #error404-widgets-area -->

<?php 
fastfood_hook_sidebars_after('error404');
Пример #4
0
 * @package fastfood
 * @since 0.15
 */
?>

<?php 
fastfood_hook_sidebars_before('primary');
?>

<div id="primary-widget-area" class="widget-area">

	<?php 
fastfood_hook_sidebar_top('primary');
?>

	<?php 
if (!dynamic_sidebar('primary-widget-area')) {
    fastfood_default_widgets();
}
//if the widget area is empty, we print some standard wigets
?>

	<?php 
fastfood_hook_sidebar_bottom('primary');
?>

</div><!-- #primary-widget-area -->

<?php 
fastfood_hook_sidebars_after('primary');
Пример #5
0
 *
 * Template part file that contains the header widget area
 *
 * @package fastfood
 * @since 0.15
 */
?>

<?php 
fastfood_hook_sidebars_before('header');
?>

<div id="header-widget-area" class="widget-area">

	<?php 
fastfood_hook_sidebar_top('header');
?>

	<?php 
dynamic_sidebar('header-widget-area');
?>

	<?php 
fastfood_hook_sidebar_bottom('header');
?>

</div><!-- #header-widget-area -->

<?php 
fastfood_hook_sidebars_after('header');