• Resolved F R

    (@frosado)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andrico

    (@andrico)

    Cambiar

    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar') ) : ?>
    	<?php endif; ?>

    por

    global $MultipleSidebars;
    $MultipleSidebars->dynamic_sidebar();
    Thread Starter F R

    (@frosado)

    Andrico,

    Thank you again for helping me troubleshoot the installation of this plugin. It is working now and makes workable the theme we selected for our site. Thank you!!

    ———-

    Andrico,

    Gracias de nuevo por tu ayuda instalando el plugin en nuestro website. Funciona muy bien y nos dejo usar el theme que habiamos seleccionado. Gracias!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can't get sidebar to show’ is closed to new replies.