britneyspy
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Showing a widget on just the main page?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
In reply to: Showing a widget on just the main page?well on the settings > reading page, i have it set to display “your latest posts”
https://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
In reply to: Showing a widget on just the main page?I′ve spent about an hour trying to work around the error but I′m still getting nothing :-\
Forum: Fixing WordPress
In reply to: Showing a widget on just the main page?ok, ill keep trying and let you know!
Forum: Fixing WordPress
In reply to: Showing a widget on just the main page?Well, I’m not sure if I mean Front Page or Main Page, this is the page I mean:
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
In reply to: Showing a widget on just the main page?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
In reply to: Suppress certain posts from showing in the front page?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'); ?>