0

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.

Cameron
  • 27,963
  • 100
  • 281
  • 483

1 Answers1

0

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

Community
  • 1
  • 1
TheDeadMedic
  • 9,948
  • 2
  • 35
  • 50