I need a different sidebar for different pages, was working, not anymore!
-
I had multiple sidebars working for another website where I could call in the sidebar in the template as such: <?php get_sidebar(‘about’); ?>
I know I updated the functions.php file with the different arrays and names, but I feel like I’m missing something. Something big since it’s not working now. Do I need to edit any other files? Did I create another sidebar.php file? I might have had an about-sidebar.php file, but I seriously can’t remember and the multiple sidebar tutorials on the web do not seem to work for me.
When I edit my functions.php file, the sidebars register and I can place widgets in them, but can’t get the different one to show on different pages. It seems only my default sidebar shows up.
I place the dynamic_sidebar code in my footer and call in the footer widgetized sidebar and that is the only one that works fine.
Any suggestions? I’m going nuts.
- The topic ‘I need a different sidebar for different pages, was working, not anymore!’ is closed to new replies.