Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to Hard Code Custom Sidebar Code Into A Specific Sidebar


dainismichel
Participant

@dainismichel

<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar('blog-sidebar') ) : ?>

<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=blog-sidebar">
<?php _e( 'Add Widgets', 'buddypress' ) ?></a>
</div>

<?php endif; ?>

Skip to toolbar