Sidebars: unexpected $end in sidebar.php at end of file
-
After properly adding a second sidebar to the theme page-style, I get this error on the blog:
Parse error: syntax error, unexpected $end in /home/public_html/wp-content/themes/page-style/sidebar.php on line 80
In wp-admin, however, the second sidebar is recognized successfully.
Original sidebar is under id=”sidebar-right”.
Additional sidebar is under id=”sidebar-left”, and the left sidebar became #1 and the right sidebar as #2.Before modifying sidebar.php:
https://privatepaste.com/b7479c5349Before modifying functions.php:
https://privatepaste.com/22c7dcafddAfter modifying sidebar.php:
https://privatepaste.com/39405d0b7aAfter modifying functions.php:
https://privatepaste.com/de0b914af0
- The topic ‘Sidebars: unexpected $end in sidebar.php at end of file’ is closed to new replies.