[wp-hackers] 1 taxonomy on 2 different custom post types
Scott Taylor
scott.c.taylor at mac.com
Sat Aug 18 18:27:47 UTC 2012
http://www.domain.com/draw-results/ (http://www.domain.com/draw-results/game/lotto)?game=lotto
http://www.domain.com/ball-statistics/ (http://www.domain.com/ball-statistics/game/lotto)?game=lotto
--
scott taylor
musician / software engineer
160 west end ave #2H
new york, ny 10023
m 646.715.7347
twitter: wonderboymusic
web: scotty-t.com
On Saturday, August 18, 2012 at 2:25 PM, Aero Maxx wrote:
> 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.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com (mailto:wp-hackers at lists.automattic.com)
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
>
More information about the wp-hackers
mailing list