[wp-hackers] wp-rewrite

Jennifer Hodgdon yahgrp at poplarware.com
Tue Feb 5 14:58:26 GMT 2008


DD2 -

I think your second try is on the right track -- I've used a 
combination of generate_rewrite_rules and parse_request successfully 
to define custom URLs with custom behavior.

Another option that I have gotten to work is to use a combination of 
'query_vars' (to define 'hash' as a valid URL argument and query 
variable), and then adding some of the filters that modify the query, 
such as 'posts_where', 'posts_join', 'posts_groupby', 'pre_get_posts', 
etc. This may be a bit simpler and more direct.

     --Jennifer

-- 
Jennifer Hodgdon

Poplar ProductivityWare * www.poplarware.com
Web Databases/Scripts * Modeling/Analysis/Palm OS Software



More information about the wp-hackers mailing list