Have multiple widgetized sidebars for my theme but not calling them correctly
-
What am I doing wrong?
I have this code in my functions.php:
if ( function_exists('register_sidebar') ) { register_sidebar(array('name'=>'twitter')); register_sidebar(array('name'=>'left')); register_sidebar(array('name'=>'right')); }
and I am able to add widgets to sidebars “twitter”, “left” and “right” in the admin. In my templates I am calling the different sidebars in different locations using this (as an example):
<?php get_sidebar('right'); ?>
It’s not working! How do I do it correctly?
Thanks!!
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Have multiple widgetized sidebars for my theme but not calling them correctly’ is closed to new replies.