This gets a little tricky since the specific category may be in an
array. =
You'll want to check it…
if (0 =3D=3D count($post_category) || !is_array=
($post_category)) {
$post_category =3D array(get_option('default_category=
'));
}
Another issue is when there is a WP upgrade you'll need to make sur=
e
you make the appropriate changes all over again, which is tedious.
Persa=
onlly, 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 <steve@…> wrote:
>
>=
What you want to do can be done.
>
> It requires coding the loop of Wordp=
ress not to display posts from the
> trains category when someone is on th=
e front page.
>
> There are code samples out there to do this since I look=
ed into it once.
>
> Maybe there's a plug in to do it too?
>
> PS. Richar=
d – 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 c=
reate 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 s=
ubscribe to the general wordpress feed to retrieve it.
> >
> > (Also, I don=
't want people who visit the main page, rather than that
> > category's pa=
ge to see it).
> >
> > … thanks … Richard
> >
> > —
> > Richard
> > h=
ttp://www.richardshow.com
>
