admin管理员组文章数量:1122846
My first help-question here :)
Using Divi theme, i found that Project custom post type let you add your portfolio projects, while having PROJECT slug in the URL. The web is full of tutorial about changing that slug, but i'd love tu change the project slug with the category of that posted project.
I found this on StackExchange but it didn't work out for me :( Change the url of Projects in Divi Theme
My issue is the same:
- I have 2 different project with 2 different categories. Project 1 with Category A, and Project 2 with Category B.
The url, right now, is homepage/project/project-1
I'd love to be homepage/category-a/project-1 and homepage/category-b/project-2
Is it even possible?
Thank you for your time and your help!
My first help-question here :)
Using Divi theme, i found that Project custom post type let you add your portfolio projects, while having PROJECT slug in the URL. The web is full of tutorial about changing that slug, but i'd love tu change the project slug with the category of that posted project.
I found this on StackExchange but it didn't work out for me :( Change the url of Projects in Divi Theme
My issue is the same:
- I have 2 different project with 2 different categories. Project 1 with Category A, and Project 2 with Category B.
The url, right now, is homepage.com/project/project-1
I'd love to be homepage.com/category-a/project-1 and homepage.com/category-b/project-2
Is it even possible?
Thank you for your time and your help!
Share Improve this question asked Mar 12, 2018 at 10:59 GangatmbGangatmb 11 silver badge3 bronze badges1 Answer
Reset to default 0You can use Custom Post Type Permalinks extension. Open breadcrumbs settings and add /%project_category% in Permalink Settings for Custom Post Types. Save. Done. That's how I figured it out.
本文标签: categoriesDivi change project slug based on category
版权声明:本文标题:categories - Divi change project slug based on category 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736296649a1929842.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论