[wp-trac] [WordPress Trac] #14502: Enable /post-type/taxonomy/term/ permalinks

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 31 14:24:32 UTC 2011


#14502: Enable /post-type/taxonomy/term/ permalinks
-------------------------+-----------------------------
 Reporter:  scribu       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Permalinks   |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+-----------------------------

Comment (by vteixeira):

 Hi Scribu, this is not a solution to the problem.

 Simply because you are hardcoding the post type on the taxonomy slug, so
 it doesn't work.

 This functionality is just needed because we need to have one taxonomy
 registered to different post types and we need to be able to filter those
 taxonomies by the post type on the url.

 Your example works great for one taxonomy registered to one post type, but
 that was already possible...

 The use case is:

 Suppose I have two post types: Cars and Airplanes.
 And one taxonomy: Color (registered for both post types).

 I need to be able to call: 'site.com/cars/color/grey' and also
 'site.com/airplanes/color/grey'.

 And it should work as anyone would expect: filtering the taxonomy by the
 post type, as if I was calling 'site.com/?post_type=cars&color=grey' or
 'site.com/?post_type=airplanes&color=grey'.

 I'm not able to do this right now.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14502#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list