Exclude Category from Main Loop
category: Snippets
It comes a time where we want to have content (in a specific category) that will not be displayed in the main loop of our home page, our archives etc.
The only line you have to add is the one in line 1 of our example below.
query_posts($query_string . '&cat=-123'); //excludes micro blog category //continue regular WP loop if (have_posts()) : while (have_posts()) : the_post(); display posts endwhile: else : //show errors endif;
7 New things coming with Wordpress 3.0
Default Theme
Let’s begin with something that waited to be updated a lot of time. The default theme. Wave goodbye to Kubrick and say hello to 2010. Rumors say that… read more
PollDaddy redesigned
PollDaddy, the polling service that integrates perfectly with Wordpress, and the one that bought by Automatic on October 15th, 2008, has finally redesigned.
Rich re… read more
Wordpress 2.9.2 released
Today, and after an alert about thrashed posts being viewable from logged in users (not post authors), we have a new security update. Webmasters of sites that have untr… read more
Menu Management in Wordpress 3.0
Today, we’ve read from the WPtavern and the wp-ui mailing list, that the next major update of wordpress, will incorporate one killer feature: Menu Management a… read more

Share on Facebook
Share on twitter
Subscribe to our RSS
