Sidebar.php code not working. Me, too. :-(
-
Hello Andrico – I love what the Multiple Sidebar Plugin can do but I can’t get the PHP to work.
I have created new Sidebars in the Widgets area and I see them in the EDIT PAGES area. Everything is working until I make php changes in APPEARANCE > EDITOR > Sidebar.php I get Error Messages or my page is blank.
I am using WordPress Twenty Eleven Theme.
I tried the same things as Martin Oxby did in another post in this thread…
<div id="secondary" class="widget-area" role="complementary"> <?php global $MultipleSidebars; $MultipleSidebars -> dynamic_sidebar(); //dynamic_sidebar(); ?></div>And also tried …
<div id="secondary" class="widget-area" role="complementary"> <?php MS_dynamic_sidebar(); ?> </div>I get an error message: Parse error: syntax error, unexpected T_ENDIF in /www/robinfrederick.com/web/wdp/wp-content/themes/twentyeleven/sidebar.php on line 52
I followed the FAQ instructions and everything seems to be working up to this point. I’d love to use this plugin if I could. My site is not live yet but you can view it here: http://www.robinfrederick.com/wdp/
I can email you with access to ADMIN area if that will help. Just let me know.
Thank you for all your hard work!
Robin Frederick
The topic ‘Sidebar.php code not working. Me, too. :-(’ is closed to new replies.