Custom URL Rewriting by Year, Custom post type and Custom taxonomy
-
Hi All!
I am trying to create a custom rewrite url, but is not so clear for me unfortunately…
So my problem is:
I have a Media-Resources custom post type and Media Type custom taxonomy. This taxonomy is assigned to the custom post type.When I see the custom post, the permalink is:
xyz.com/post-type-slug/post-titleI would like to use the: xyz.com/post-type-slug/post-taxonomy-slug/post-title
Also:
The post type has a custom field “Media Date” – which is a year like “2015”I would like to create a template which will fetch the post types by this year.
I have a custom created navigation for this.
I would like to solve this for the template:
xyz.com/post-type-slug/post-taxonomy-slug/year/Does anybody help me please?
Thank you so much in advance,
Kind regards,
Tamas
- The topic ‘Custom URL Rewriting by Year, Custom post type and Custom taxonomy’ is closed to new replies.