Title: britneyspy's Replies | WordPress.org

---

# britneyspy

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

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

 Search replies:

## Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Showing a widget on just the main page?](https://wordpress.org/support/topic/showing-a-widget-on-just-the-main-page/)
 *  Thread Starter [britneyspy](https://wordpress.org/support/users/britneyspy/)
 * (@britneyspy)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/showing-a-widget-on-just-the-main-page/#post-811033)
 * I wish I had just left well alone now, I backed up those 2 files and tried that
   code, but it gave me an error, so I reuploaded the original files and now the
   sidebar doesn’t display!
 * It’s just a blank column and when I go into Widgets in the Admin Panel it says“
   No Sidebars Defined” in a red box 🙁
 * I have no idea how to fix it now, any suggestions?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Showing a widget on just the main page?](https://wordpress.org/support/topic/showing-a-widget-on-just-the-main-page/)
 *  Thread Starter [britneyspy](https://wordpress.org/support/users/britneyspy/)
 * (@britneyspy)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/showing-a-widget-on-just-the-main-page/#post-811013)
 * well on the settings > reading page, i have it set to display “your latest posts”
 * [http://www.britneyspy.com](http://www.britneyspy.com) > i want all the widgets
   to show in the sidebar on that page, but on ALL the other pages i dont want 1
   of the widgets to show (the links)
 * i hope that makes it a bit clearer, i’m confusing myself now to be honest!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Showing a widget on just the main page?](https://wordpress.org/support/topic/showing-a-widget-on-just-the-main-page/)
 *  Thread Starter [britneyspy](https://wordpress.org/support/users/britneyspy/)
 * (@britneyspy)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/showing-a-widget-on-just-the-main-page/#post-810955)
 * I´ve spent about an hour trying to work around the error but I´m still getting
   nothing :-\
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Showing a widget on just the main page?](https://wordpress.org/support/topic/showing-a-widget-on-just-the-main-page/)
 *  Thread Starter [britneyspy](https://wordpress.org/support/users/britneyspy/)
 * (@britneyspy)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/showing-a-widget-on-just-the-main-page/#post-810933)
 * ok, ill keep trying and let you know!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Showing a widget on just the main page?](https://wordpress.org/support/topic/showing-a-widget-on-just-the-main-page/)
 *  Thread Starter [britneyspy](https://wordpress.org/support/users/britneyspy/)
 * (@britneyspy)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/showing-a-widget-on-just-the-main-page/#post-810909)
 * Well, I’m not sure if I mean Front Page or Main Page, this is the page I mean:
 * [http://www.britneyspy.com/](http://www.britneyspy.com/)
 * I read the Conditional Tags page and still wasn’t sure what to do, so I put “
   is_front_page()” in the Widget Logic field and it gave me an error:
 * >  Warning: array_keys() [function.array-keys]: The first argument should be 
   > an array in /home/bspy/public_html/wordpress/wp-content/plugins/widget-logic/
   > widget_logic.php on line 29
   > Warning: Invalid argument supplied for foreach() in /home/bspy/public_html/
   > wordpress/wp-content/plugins/widget-logic/widget_logic.php on line 29
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/bspy/public_html/wordpress/wp-content/plugins/widget-logic/
   > widget_logic.php:29) in /home/bspy/public_html/wordpress/wp-includes/pluggable.
   > php on line 770
 * Thanks again for the help!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Showing a widget on just the main page?](https://wordpress.org/support/topic/showing-a-widget-on-just-the-main-page/)
 *  Thread Starter [britneyspy](https://wordpress.org/support/users/britneyspy/)
 * (@britneyspy)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/showing-a-widget-on-just-the-main-page/#post-810851)
 * Thanks a lot, I installed the plugin but I’m not quite sure what to put in the
   Widget Logic field for it to only display on the main page?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Suppress certain posts from showing in the front page?](https://wordpress.org/support/topic/suppress-certain-posts-from-showing-in-the-front-page/)
 *  [britneyspy](https://wordpress.org/support/users/britneyspy/)
 * (@britneyspy)
 * [18 years ago](https://wordpress.org/support/topic/suppress-certain-posts-from-showing-in-the-front-page/#post-740140)
 * maybe i´m being really dense but I tried that code and I just get an error 🙁…
   this is what i have in index.php :
 *     ```
       <?php
          if (is_home()) {
             query_posts("cat=-15");
          }
       ?>
       <?php
       /* Short and sweet */
       define('WP_USE_THEMES', true);
       require('./wordpress/wp-blog-header.php');
       ?>
       ```
   

Viewing 7 replies - 1 through 7 (of 7 total)