[wp-hackers] 3.1 and custom rewrites for post types

Milan Dinić liste at srpski.biz
Sun Feb 27 23:22:37 UTC 2011

With Custom Post Permalinks plugin:

On Mon, Feb 28, 2011 at 12:16 AM, Alex Hempton-Smith
<hempsworth at gmail.com>wrote:

> I understand that 3.1 introduces some fixes that allows me to accomplish
> what I'm looking for - but because it's fresh out, Google isn't coming up
> with much. I'm hoping somebody could lead me in the right direction.
> Essentially, I have a custom post type called 'Treatments' and a custom
> taxonomy called 'Treatment Types'.
> I'd like my final URL's to look like:
> www.example.com/treatments/[TREATMENT-TYPE]/[TREATMENT]
> How would I accomplish that using the 'register_post_type' and
> 'register_taxonomy' functions?
> Many thanks,
> Alex
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list