[wp-hackers] 1 taxonomy on 2 different custom post types

Aero Maxx aero.maxx.d at gmail.com
Sat Aug 18 18:25:14 UTC 2012


Hello,

Is it at all possible to have 1 custom taxonomy on 2 different custom 
post types, and have them filtered.

I have 2 different custom post types that both use the same taxonomy, 
and I would like to do url filtering.

One is called "Draw Results" and the other "Ball Statistics", I would 
like the below urls so show only posts in the custom post type in the 
url that are in the taxonomy "Game".

http://www.domain.com/draw-results/game/lotto
http://www.domain.com/ball-statistics/game/lotto

This was working when was only 1 custom post type, but since I have 
added a 2nd the above links dont filter, they show all posts in the 
taxonomy regardless of which custom post type they are in.

Thanks
Daniel.


More information about the wp-hackers mailing list