[wp-hackers] WP_Rewrite query
sam at rephrase.net
Sun Feb 5 03:46:05 GMT 2006
On 2/5/06, Scott Merrill <skippy at skippy.net> wrote:
> So, short of asking for someone to write my code for me, I would really
> like to see a comprehensive example of how to add and use a new
> permalink token -- assuming such can be done.
It isn't a comprehensive example, but it does part of what you want.
There might be a better place to add the rewrite tag, but that hook
works. Just use %dayofyear% in the permalink structure in the admin
More information about the wp-hackers