[wp-hackers] Hooking into Comments
dmhouse at gmail.com
Thu Aug 25 07:42:07 GMT 2005
On 25/08/05, ml_wordpress at copperleaf.org <ml_wordpress at copperleaf.org> wrote:
> So you took the approach of not inserting a post at all and just used a
> ghost post id. In my case I was going to actually use the post record
> (title, content, etc) but just not display it in the normal fashion.
> Changing the status to a new type did not prevent it from showing up. I
> had to modify the query with the post_where filter and add a ' AND
> post_status != 'mystatus'. That makes me nervous.
Future-date the post. WordPress will ignore any posts with dates in the future.
-David House, dmhouse at gmail.com, http://xmouse.ithium.net
More information about the wp-hackers