[wp-trac] [WordPress Trac] #13068: Custom filters and actions for post_types rewrite urls
WordPress Trac
wp-trac at lists.automattic.com
Sat Apr 24 12:04:19 UTC 2010
#13068: Custom filters and actions for post_types rewrite urls
-----------------------------+----------------------------------------------
Reporter: butuzov | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 3.1
Component: Post Types | Version: 3.0
Severity: normal | Keywords: needs-patch
-----------------------------+----------------------------------------------
Changes (by dd32):
* keywords: => needs-patch
* milestone: 3.0 => 3.1
Comment:
> I am not talking about add_permastruct, i working with custom post types
right now
My point was, register_post_type() makes a BASIC and GENERIC
add_permastruct() / add_Rewrite_tag() rewrite rule for your post_type.
Your plugin still needs to flush the rewrite rules on activation / adding
of the post_type. At this stage, If the basic rewrite rules are not
powerful enough for your purpose, you'll need to add a rewrite rules
yourself to achieve it.
I'm moving this to 3.1 as 3.0 will have nothing other than a bare basics
of URL routing for custom post_types.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13068#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list