[wp-hackers] WP_Rewrite query

Andy Skelton skeltoac at gmail.com
Sun Feb 5 05:56:12 GMT 2006


On 2/4/06, Sam Angove <sam at rephrase.net> wrote:
> 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.
>
> Try this:
>    http://rephrase.net/miscellany/06/dayofyear.phps

That's quite good. filter_query_string will have to be modified to
also grab the year so you can deal with leap years.

Andy


More information about the wp-hackers mailing list