Multiple sidebars loading same widgets
-
I have three sidebars on my site. Each appears on a specific page, per custom templates with
<?php include('sidebar2.php');and<?php include('sidebar3.php');.In the Admin there are three sidebars, each with a different set of widgets. However on my site, each page displays the same set of widgets (the ones associated with the default sidebar.php
Here is the relevant code I’m using:
hometemplate.php
<?php include ('sidebar.php'); ?>blogtemplate.php
<?php get_sidebar('sidebar2.php') ?>memberstemplate.php
<?php get_sidebar('sidebar2.php') ?>functions.php
if ( function_exists('register_sidebars') ) register_sidebars(3);sidebar.php, sidebar2.php and sidebar3.php hold identical code from the Kubrick theme.
Here are the affected pages:
http://smpsalabama.org
http://smpsalabama.org/blog/
http://smpsalabama.org/members/
The topic ‘Multiple sidebars loading same widgets’ is closed to new replies.