tags:

views:

34

answers:

1

I have a custom post type using WordPress 3.0 that has the following rewrite rule:

'rewrite' => array( 'slug' => 'events', 'with_front' => false )

which gives the following: domain.com/events/my-awesome-event/

How can I pass some additional info into the rule, such as the date, I'm wanting to have the following rewrite: domain.com/events/2010/my-awesome-event/

Thanks.

A: 

Props to Benj in Using Dates in Custom post_type Permalinks - check out this article on custom post type permalinks

TheDeadMedic