Can't get sidebar to show
-
Saludos Andrico,
Thanks for creating this plug-in!
Unfortunately I can’t get it to work. No sidebar will show. I succesfully installed and activated the plug in, I added the Multiple Sidebar to the Theme’s main sidebar widget (not the Deault widget), and I created a few sidebars which I added to a Page by moving them to Active. Still, no sidebars show.
The code of my sidebar.php file originally read as follows:
<div id="sidebar"> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar') ) : ?> <?php endif; ?> </div> <!-- end #sidebar -->
How should it read now; in other words, where do I insert the code below? I tried it a few different ways but could not get it to work.
<?php global $MultipleSidebars; if ($MultipleSidebars -> dynamic_sidebar ()) { echo "No sidebars selected"; } ?>
Thank you very much!
EN ESPANOL:
Andrico, no me funciona el plugin. Donde debo de anadir el codigo con la declaracion “Global…”? Mi Sidebar.php original lee lo siguiente:
<div id="sidebar"> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar') ) : ?> <?php endif; ?> </div> <!-- end #sidebar -->
Intente anadir el codigo nuevo de diferentes maneras per no me funciona. Como debe de leer Sidebar.php?
Mil gracias!
-Fabian
https://www.ads-software.com/extend/plugins/multiple-sidebars/
- The topic ‘Can't get sidebar to show’ is closed to new replies.