Try using a post-date far ahead in the future, like in 3004, instead of 2004 🙂 Might work, I remember doing that once.
Thread Starter
Anonymous
WP lets me change the date to a couple years ahead, which prevents it from showing up on the main page. But it also prevents it from showing up on the Friends catagory page. The post doesn’t even diplay when you point directly to it… Any ideas?
Thanks.
well, if everything fails,
http://coppermine.sourceforge.net/ this is a pretty cool gallery software.
Thread Starter
Anonymous
I added that line to index.php and it does prevent posts in the catagory “friends” from showing up on the main page. However, it also seems to mess-up all the catagories: When you click on them you get the same posts that are on the main page. I assume it’s because they all use the same template (index.php)…
As I see it, I have two options.
1. Get rid of the line, but try and use the show-one-catagory-on-front-page hack, just backwards to exclude the “friends” catagory. However, I don’t know if this is functionally any different from your above solution. Will it limit it for every catagory or just the front page?
2. The other option would be to keep the limiting line and create a static page which calls the “Friends” catagory. But since the line messes with all the catgories, wouldn’t I have to create a seperate static/template page for the catagories? Suggestions?
Thanks.
That’s odd…. I use it and don’t have any issues….. at least with the version I have (which is a nightly from some weeks ago). Hmmm… I wonder if it’s been fixed in the nightly but not in the main release…..
*ponders this for a moment*
TG
Use this:
if (!$_GET[‘cat’]) $cat = ‘-X’;
Thanks to LaughingLizard for the tip in IRC.
Thread Starter
Anonymous
Thank you all very much. I got it to work.
pande – try the solution skippy provided…. I suspect that I might have a modified blog-header.php where the effect is different.
TG
Okk.. done !
Thanks anyway 🙂
-pande(‘;’)
How did you get it to work?