custom post type lost on permalink
-
hi,
i introduced a new post type with ‘custom post types ui’ and used ‘custom post types permalinks’ Tod set the entry links to /events/%year%/%monthnum%/%postname%.
This is working fine so far.
If i browse to /events/2013/10 all events planned for october 2013 are listed.
But if i browse to /events/2013/ all non custom post published in 2013 are listed.
It seems that the post_type gets lost for wp_query.i tried registering a rewrite rule like (‘events/([0-9]{4})/?$’,’index.php?post_type=events&year=$matches[1]’). but this doesn’t help.
any proposals?
regards,
Robert
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘custom post type lost on permalink’ is closed to new replies.