mirror of
https://gh.wpcy.net/https://github.com/buddypress/buddypress.git
synced 2026-05-31 05:04:29 +08:00
git-svn-id: https://buddypress.svn.wordpress.org/tags/default-home-theme@993 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
39 lines
1.3 KiB
PHP
39 lines
1.3 KiB
PHP
<?php get_header(); ?>
|
|
<div id="content" class="widecolumn">
|
|
|
|
<div id="right-column">
|
|
<?php if ( !function_exists('dynamic_sidebar')
|
|
|| !dynamic_sidebar('right-column') ) : ?>
|
|
|
|
<div class="widget-error">
|
|
<?php _e( 'Please log in and add widgets to this column.', 'buddypress' ) ?> <a href="<?php echo get_option('siteurl') ?>/wp-admin/widgets.php?s=&show=&sidebar=sidebar-3"><?php _e( 'Add Widgets', 'buddypress' ) ?></a>
|
|
</div>
|
|
|
|
<?php endif; ?>
|
|
</div>
|
|
|
|
<div id="center-column">
|
|
<?php if ( !function_exists('dynamic_sidebar')
|
|
|| !dynamic_sidebar('center-column') ) : ?>
|
|
|
|
<div class="widget-error">
|
|
<?php _e( 'Please log in and add widgets to this column.', 'buddypress' ) ?> <a href="<?php echo get_option('siteurl') ?>/wp-admin/widgets.php?s=&show=&sidebar=sidebar-2"><?php _e( 'Add Widgets', 'buddypress' ) ?></a>
|
|
</div>
|
|
|
|
<?php endif; ?>
|
|
</div>
|
|
|
|
<div id="left-column">
|
|
<?php if ( !function_exists('dynamic_sidebar')
|
|
|| !dynamic_sidebar('left-column') ) : ?>
|
|
|
|
<div class="widget-error">
|
|
<?php _e( 'Please log in and add widgets to this column.', 'buddypress' ) ?> <a href="<?php echo get_option('siteurl') ?>/wp-admin/widgets.php?s=&show=&sidebar=sidebar-1"><?php _e( 'Add Widgets', 'buddypress' ) ?></a>
|
|
</div>
|
|
|
|
<?php endif; ?>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php get_footer(); ?>
|