<?php /** * sidebar.php * * Template part file that contains the default sidebar content * * @package wallow * @since 0.27 */ ?> <?php wallow_hook_sidebars_before('primary'); ?> <!-- begin primary sidebar --> <div id="primary-sidebar" class="sidebar"> <div id="sidebartop"></div> <div id="sidebarbody"> <?php wallow_hook_sidebar_top('primary'); ?> <?php if (!dynamic_sidebar('sidepad')) { //if the widget area is empty, we print some standard wigets
<?php /** * sidebar-error404.php * * Template part file that contains the 404 page widget area * * @package wallow * @since 2.05 */ ?> <?php wallow_hook_sidebars_before('error404'); ?> <div id="error404-widgets-area"> <?php wallow_hook_sidebar_top('error404'); ?> <?php dynamic_sidebar('error404-widgets-area'); ?> <?php wallow_hook_sidebar_bottom('error404'); ?> </div>