Title: greencode's Replies - page 33 | WordPress.org

---

# greencode

  [  ](https://wordpress.org/support/users/greencode/)

 *   [Profile](https://wordpress.org/support/users/greencode/)
 *   [Topics Started](https://wordpress.org/support/users/greencode/topics/)
 *   [Replies Created](https://wordpress.org/support/users/greencode/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/greencode/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/greencode/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/greencode/engagements/)
 *   [Favorites](https://wordpress.org/support/users/greencode/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 481 through 495 (of 536 total)

[←](https://wordpress.org/support/users/greencode/replies/page/32/?output_format=md)
[1](https://wordpress.org/support/users/greencode/replies/?output_format=md) [2](https://wordpress.org/support/users/greencode/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/greencode/replies/page/3/?output_format=md)…
[32](https://wordpress.org/support/users/greencode/replies/page/32/?output_format=md)
33 [34](https://wordpress.org/support/users/greencode/replies/page/34/?output_format=md)
[35](https://wordpress.org/support/users/greencode/replies/page/35/?output_format=md)
[36](https://wordpress.org/support/users/greencode/replies/page/36/?output_format=md)
[→](https://wordpress.org/support/users/greencode/replies/page/34/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Multiple Sidebar Call Problem](https://wordpress.org/support/topic/multiple-sidebar-call-problem/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/multiple-sidebar-call-problem/#post-1115297)
 * I’m at a loss as to know what to do here. I have this:
 *     ```
       <?php
       if ( is_page('4') ) :
         get_sidebar('1');
       elseif ( is_page('12') ) :
         get_sidebar('2');
       elseif ( is_page('14') ) :
         get_sidebar('3');
       elseif ( is_page('16') ) :
         get_sidebar('4');
       endif;
       ?>
       ```
   
 * and in the functions I’ve created these:
 *     ```
       if ( function_exists('register_sidebar') ) {
       		register_sidebar(array('name'=>'sidebar-1',
               'before_widget' => '',
               'after_widget' => '',
               'before_title' => '<h2>',
               'after_title' => '</h2>',
           ));
           	register_sidebar(array('name'=>'sidebar-2',
               'before_widget' => '',
               'after_widget' => '',
               'before_title' => '<h2>',
               'after_title' => '</h2>',
           ));
           	register_sidebar(array('name'=>'sidebar-3',
               'before_widget' => '',
               'after_widget' => '',
               'before_title' => '<h2>',
               'after_title' => '</h2>',
           ));
           	register_sidebar(array('name'=>'sidebar-4',
               'before_widget' => '',
               'after_widget' => '',
               'before_title' => '<h2>',
               'after_title' => '</h2>',
           ));
       }
       ```
   
 * The sidebars appear to be showing up okay in my Widgets panel as:
 * sidebar-1
    sidebar-2 sidebar-3 sidebar-4
 * So I have no idea why it’s not working. It seems to just default to the first
   sidebar I have?!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Multiple Sidebar Call Problem](https://wordpress.org/support/topic/multiple-sidebar-call-problem/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/multiple-sidebar-call-problem/#post-1115291)
 * I’ve managed to insert one of the sidebars I created (just to see if they were
   working!) by using this code:
 *     ```
       <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar-4') ) : ?>
       <?php endif; ?>
       ```
   
 * But I really need differerent sidebars for each of the 4 pages.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Multiple Sidebar Call Problem](https://wordpress.org/support/topic/multiple-sidebar-call-problem/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/multiple-sidebar-call-problem/#post-1115275)
 * Umm, I’m getting a little confused with this!?
 * I’ve changed pages for page ids and called the sidebars 1-4, so it now reads:
 * <?php if ( is_page(‘4’) ) get_sidebar(‘2’);
    elseif ( is_page(’12’) ) get_sidebar(‘
   2’); elseif ( is_page(’14’) ) get_sidebar(‘3’); elseif ( is_page(’16’) ) get_sidebar(‘
   4’); ?>
 * It just appears to be bringing in the same sidebar on each page even though I
   have different widgets on each.
 * With the sidebar.php files do I simply duplicate the first one and title them
   sidebar-1.php etc etc.
 * I’m a bit confused?!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: NextGEN Gallery] Unable to use Lightbox](https://wordpress.org/support/topic/plugin-nextgen-gallery-unable-to-use-lightbox/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-unable-to-use-lightbox/#post-1111438)
 * I’ve managed to use this version of [WP-Slimbox2](http://wordpress.org/extend/plugins/wp-slimbox2/)
   and all appears to be working okay
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Funny characters after moving server](https://wordpress.org/support/topic/funny-characters-after-moving-server/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/funny-characters-after-moving-server/#post-1110719)
 * Okay, I think (and hope) that I’ve resolved this issue… In the wp-config.php 
   file I changed the following line:
 * define(‘DB_COLLATE’, ”);
 * to
 * define(‘DB_COLLATE’, ‘utf8’);
 * Seems to have done the trick?!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Hackadelic Widget Voodoo] Specify open and close state?](https://wordpress.org/support/topic/plugin-hackadelic-widget-voodoo-specify-open-and-close-state/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-hackadelic-widget-voodoo-specify-open-and-close-state/#post-1103864)
 * Thanks for this – very much appreciated
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Hackadelic Widget Voodoo] Specify open and close state?](https://wordpress.org/support/topic/plugin-hackadelic-widget-voodoo-specify-open-and-close-state/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-hackadelic-widget-voodoo-specify-open-and-close-state/#post-1103745)
 * I didn’t mean that in a negative way – sorry, if you felt that way? It was more
   of a feature request – I don’t know how hard these things are to code and so 
   it might have been something that took 5 minutes or it might be something that
   would be really difficult and therefore not worth the time.
 * Please don’t take things the wrong way as that’s not how it was intended.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Hackadelic Widget Voodoo] Specify open and close state?](https://wordpress.org/support/topic/plugin-hackadelic-widget-voodoo-specify-open-and-close-state/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-hackadelic-widget-voodoo-specify-open-and-close-state/#post-1103663)
 * That’s a real shame – is there no easy way to code that in somehow?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [777 and suPHP](https://wordpress.org/support/topic/777-and-suphp/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/777-and-suphp/#post-1097099)
 * To be honest, that’s great when it’s me updating my own plugins etc because I
   know what to do but if I’m developing a site for a client I’d need to keep it
   as easy as possible for them to do stuff themselves.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Show different page whilst in development?](https://wordpress.org/support/topic/show-different-page-whilst-in-development/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/show-different-page-whilst-in-development/#post-1084920)
 * By the way I’ve read this [How to hide a WordPress Test Area](http://codex.wordpress.org/Test_Driving_WordPress#Hiding_Your_WordPress_Test_Area)
   but this will surely hide everything in the public_html folder
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: MapPress Easy Google Maps] Exact positioning of marker?](https://wordpress.org/support/topic/plugin-mappress-easy-google-maps-exact-positioning-of-marker/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [17 years ago](https://wordpress.org/support/topic/plugin-mappress-easy-google-maps-exact-positioning-of-marker/#post-1071158)
 * Fantastic – thanks for the letting us know
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Change wp_ prefix – now pages have reverted to default template](https://wordpress.org/support/topic/change-wp_-prefix-now-pages-have-reverted-to-default-template/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [17 years ago](https://wordpress.org/support/topic/change-wp_-prefix-now-pages-have-reverted-to-default-template/#post-1069709)
 * Thanks for your reply… I went ahead and did this manually but that’s good to 
   know for future sites.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: WP Security Scan] How do I add ALTER rights to my database](https://wordpress.org/support/topic/plugin-wp-security-scan-how-do-i-add-alter-rights-to-my-database/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [17 years ago](https://wordpress.org/support/topic/plugin-wp-security-scan-how-do-i-add-alter-rights-to-my-database/#post-1068351)
 * Mmmm, I’ve just checked the user and the ALTER checkbox is set to yes. I went
   back and tried to do it again but this is what is said from the plugin:
 * Your User which is used to access your WordPress Tables/Database, hasn’t enough
   rights( is missing ALTER-right) to alter your Tablestructure. Please visit the
   plugin documentation for more information. If you believe you have alter rights,
   please contact the plugin author for assistance.
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Failed to connect to FTP Server / adds :21 at end of hostname](https://wordpress.org/support/topic/failed-to-connect-to-ftp-server-adds-21-at-end-of-hostname/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [17 years ago](https://wordpress.org/support/topic/failed-to-connect-to-ftp-server-adds-21-at-end-of-hostname/#post-1067157)
 * Thanks for your help with this. If anyone else is experiencing the same issues
   as me then simply download and install the [Core Control plugin](http://wordpress.org/extend/plugins/core-control/)
   and from the options select “Filesystem Module” and from that section Disable
   Transport of “PHP FTP Extension”
 * I’m still unable to upgrade my plugins but that’s a different issue now as I’m
   getting a “Could not remove the old plugin” error?!?!?!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Remove Indent from .blogroll CSS](https://wordpress.org/support/topic/remove-indent-from-blogroll-css/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [17 years ago](https://wordpress.org/support/topic/remove-indent-from-blogroll-css/#post-1067658)
 * Thank you, thank you, thank you – That worked an absolute treat. Really appreciate
   your help esmi

Viewing 15 replies - 481 through 495 (of 536 total)

[←](https://wordpress.org/support/users/greencode/replies/page/32/?output_format=md)
[1](https://wordpress.org/support/users/greencode/replies/?output_format=md) [2](https://wordpress.org/support/users/greencode/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/greencode/replies/page/3/?output_format=md)…
[32](https://wordpress.org/support/users/greencode/replies/page/32/?output_format=md)
33 [34](https://wordpress.org/support/users/greencode/replies/page/34/?output_format=md)
[35](https://wordpress.org/support/users/greencode/replies/page/35/?output_format=md)
[36](https://wordpress.org/support/users/greencode/replies/page/36/?output_format=md)
[→](https://wordpress.org/support/users/greencode/replies/page/34/?output_format=md)