Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * The Top widget areas.
- *
- * @package WordPress
- * @subpackage Twenty_Ten
- * @since Twenty Ten 1.0
- */
- ?>
- <?php
- /* The header widget area is triggered if any of the areas
- * have widgets. So let's check that first.
- *
- * If none of the sidebars have widgets, then let's bail early.
- */
- if (
- && ! is_active_sidebar( 'center-top-widget-area' )
- )
- return;
- // If we get this far, we have widgets. Let's do this.
- ?>
- <div id="top-widget-area" role="complementary">
- <?php if ( is_active_sidebar( 'center-top-widget-area' ) ) : ?>
- <div id="top-center" class="widget-area">
- <ul class="xoxo">
- <?php dynamic_sidebar( 'center-top-widget-area' ); ?>
- </ul>
- </div><!-- #top-center .widget-area -->
- <?php endif; ?>
- </div><!-- #top-widget-area -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement