[wp-hackers] This was painful to read...
Mike Schinkel
mikeschinkel at newclarity.net
Tue Dec 1 02:00:58 UTC 2009
On Nov 30, 2009, at 4:25 PM, Aaron Brazell wrote:
> In WP 2.9, register_post_type() adds a post type of foo.
>
> Using WP_Rewrite::add_rewrite_tag() allows you to add a new custom permalink
> structure, say, /%foo%/
>
> Add these things to a fuction hooked on init with a low priority and you
> should be good to go. I don't see the problem with a little ingenuity and a
> few lines of code.
Thanks. I've stayed aware from non-released versions so I'll be anxious to try that when 2.9 is released.
(Anyone have any idea when to expect 2.9?)
-Mike Schinkel
More information about the wp-hackers
mailing list