Multiple Sidebar formatting
I’m trying to change the sidebar on different pages.
follwoing the method seen here: http://www.quickonlinetips.com/archives/2007/11/how-to-create-multiple-dynamic-sidebars-for-wordpress-widgets/
On the custom template, where normally would appear the line:
<?php get_sidebar(); ?>
I have replaced with:
<?php if ( !function_exists(‘dynamic_sidebar’)
|| !dynamic_sidebar(‘sidebar2’) ) : ?>
<?php endif; ?>
I get the widgets I supplied for sidebar2 but none of the sidebar formatting. How do I get the sidebar to look right?
- The topic ‘Multiple Sidebar formatting’ is closed to new replies.