dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
share rss forum feed


stray

join:2000-01-16
Warren, NJ
reply to ProtusMose

Re: Wordpress - filter out authors from main feed

Same line added just before:

<?php query_posts($query_string . '&author=-20'); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
 

will do the trick. The idea is to setup any special conditions on your posts database query before you head into the loop: while (have_posts) ....

--
V-Rtifacts - When Virtual Reality Was More Than Virtual


ProtusMose
Immortal. Eternal.
Premium
join:2001-10-03
Bellevue, NE
kudos:4

That's not working right now. I'll have to play with it more tonight outside of business hours. :\