最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

multisite - How to build custom route by adding taxonomies to URL ? ex: www.demo.comcommunitiespalo-alto

programmeradmin0浏览0评论

I am trying to achieve this in WordPress, but no luck

Here '/communities' is custom Taxonomy of post type 'PAGE', '/Palo-alto' is term from communities taxonomy .

  1. I want user first to click on communities which will show all communities in grid, URL should be www.demo/communities/

  2. then after he can select one community from list, ex he select 'Palo-alto' , then URL should be www.demo/community/palo-alto/

BASICALLY here each community has its own home page , linked by communities taxonomy , like 'Palo-alto' has its own home page, 'las-Vegas' has its own, I want to show home page of particular community

problem is that I don't want .php at end of URL just www.demo/community/palo-alto/

Extra : after solving this issue I also want to show 'gallery', 'events', 'downloads' for that particular community ex; www.demo/community/palo-alto/events , www.demo/community/palo-alto/gallery

发布评论

评论列表(0)

  1. 暂无评论