Custom Post Types and Permalinks
-
Hi,
I’ve created a new custom post type of ‘project’
This all works fine, however, I’m stuck trying to get my head around the permalinks, and have spend best part of a day trying to figure this out.What I’m aiming for is:
To set up a new page with the following url /portfolio/ – this will link to a custom template that will display the posts (this is fine) – and it needs to also paginate.
/portfolio/page/2/ etc
All posts in the portfolio category will link to
/portfolio/my-post-title/
However, I’d love to get archives and categories sitting on the /portfolio/
such as:
/portfolio/archive/
/portfolio/archive/2011/
/portfolio/archive/2011/08/
/portfolio/archive/2011/08/17//portfolio/categories/category-slug/
/portfolio/tags/tag-slug/How do I do this? Any ideas/pointers would be greatly appreciated.
Thank you,
Michael
The topic ‘Custom Post Types and Permalinks’ is closed to new replies.