WordPress.org

Support

Support » How-To and Troubleshooting » Possibly remove sidebar from a specific page?

Possibly remove sidebar from a specific page?

  • Hi, I need to know is it possible to remove the sidebar/widgets from a specific page. Is there a plugin or something that can do this? Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ve got the opposite problem. My sidebar disappeared on my home page and I need it back. I don’t know how mine disappeared, but it happened when my site was moved to a different server. If anyone has any suggestions, that would be great!

    DootThaLoop: Hi, I need to know is it possible to remove the sidebar/widgets from a specific page. Is there a plugin or something that can do this? Thanks!

    All you need is bit of custom code. See the Codex: Conditional Tags
    (especially the example on Variable Sidebar Content).

    * * *

    sweetteafilms: I’ve got the opposite problem. My sidebar disappeared on my home page and I need it back. I don’t know how mine disappeared, but it happened when my site was moved to a different server. If anyone has any suggestions, that would be great!

    Don’t hijack someone else’s thread.

    You’ve got multiple problems: This is from a page.

    WordPress database error: [Table ‘ingramlabs_sweetteafilms_wp.wp_comments’ doesn’t exist]
    SELECT * FROM wp_comments WHERE comment_post_ID = ’17’ AND comment_approved = ‘1’ ORDER BY comment_date

    So, if you can get into the admin panel, export all your posts and pages, ’cause you may be looking at a complete reinstall. Also, backup your database. References: WordPress Backups, Restoring Your Database From Backups, Importing Content.

    In your sidebar, do you have a recent comments widgets? With (apparently) no wp_comments table, that might be the cause of your broken page.

    The sidebar issue is secondary to this database error.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Possibly remove sidebar from a specific page?’ is closed to new replies.