This gets a little tricky since the specific category may be in an
array.  You'll want to check it...

if (0 == count($post_category) || !is_array($post_category)) {
  $post_category = array(get_option('default_category'));
}

Another issue is when there is a WP upgrade you'll need to make sure
you make the appropriate changes all over again, which is tedious.

Persaonlly, I'd look into Verdi's idea about using pages.

-Matt
-----------------------
http://vlogmap.org
http://ridertech.com
http://leanbackvids.com


--- In videoblogging@yahoogroups.com, Steve Garfield <[EMAIL PROTECTED]> wrote:
>
> What you want to do can be done.
> 
> It requires coding the loop of Wordpress not to display posts from the 
> trains category when someone is on the front page.
> 
> There are code samples out there to do this since I looked into it once.
> 
> Maybe there's a plug in to do it too?
> 
> PS. Richard - email to your address bounced back to me.
> 
> --Steve
> Witty tag-line goes here
> 
> On Mar 17, 2006, at 8:22 AM, Richard Show wrote:
> 
> >  In wordpress, is it possible to make a post that will go in a 
> > category, but not on the main page?
> >
> > Example:
> >
> > I have a category called "trains" and I have a feed associated with 
> > that category.
> >
> > I create a post about trains and I want people who subscribe to my 
> > trains category to retrieve it via that feed, but I don't want
people, 
> > who subscribe to the general wordpress feed to retrieve it.
> >
> > (Also, I don't want people who visit the main page, rather than that 
> > category's page to see it).
> >
> > ... thanks ... Richard
> >
> > -- 
> > Richard
> > http://www.richardshow.com
>






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/videoblogging/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to