[wp-hackers] 3.1 and custom rewrites for post types
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:
> How would I accomplish that using the 'register_post_type' and
> 'register_taxonomy' functions?
> Many thanks,
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers