WordPress.org

Ready to get started?Download WordPress

Forums

Possibly remove sidebar from a specific page? (3 posts)

  1. DootThaLoop
    Member
    Posted 6 years ago #

    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!

  2. sweetteafilms
    Member
    Posted 6 years ago #

    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!

  3. scribblerguy
    Member
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic