View Single Post
Old 2006-09-21, 05:45 AM   #1
johnnybg
I want to set the record straight - I thought the cop was a prostitute
 
johnnybg's Avatar
 
Join Date: May 2004
Location: Serbia & Montenegro
Posts: 292
Send a message via ICQ to johnnybg
Wordpress Timestamps

I'm just beginning to learn Wordpress these days. I used to use Mambo/Joomla for my paysite reviews project, and I found out that WP is much easier to maintain, so I switched to it.

Unfortunately, WP has uexpected behavior with timestamps, which bothers me a lot since Mambo had it working.

The thing is when I change timestamp of the post and publish it, it appears in my categories list in the sidebar. That's pretty bad, because I expected that this post would appear only on date I've set in timestamp field.

When I click on the category link, scheduled post does not appear in the archive list, which is good, but it still counts in the number of posts in categories list in sidebar.

One workaround that I managed to do is to change this in my sidebar.php

original:
<?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','') ?>

changed:
<?php list_cats(0, '', 'name', 'asc', '', 1, 0, 0, 1, 1, 1, 0,'','','','','') ?>

This prevents Wordpress to display the number of posts in categories list in sidebar.

I need a workaround to prevent categories from appearing in list when they have one scheduled post - because they are empty before scheduled time comes, and clicking on such category gives empty page.

I tried to Google this issue, but had no luck. Any ideas?
__________________
Teen Porn Site Blog
Johnny's Porn
Nesa (aka johnnybg)
johnnybg is offline   Reply With Quote