CPT relations use in permalinks under single post type

I have a complicated question related to CPT and the permalink structure.So, I have two CPT's:1. Cities2. Properti

I have a complicated question related to CPT and the permalink structure. So, I have two CPT's: 1. Cities 2. Properties Now, the relation is Cities parent to property. So when crate a single city like London, I assign related properties from the child CPT.

Everything work's fine, but when it comes to permalinks, I need to show the chosen city (which is a single post type) above the properties related to it. permalink need to be like that: website/cities/london(single cities-CPT)/property/post-name(single property-CPT).

For one week, I was looking around and didn't find any solutions. Tnx to anyone who can point me in the right direction.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744703789a4588931.html

相关推荐

  • CPT relations use in permalinks under single post type

    I have a complicated question related to CPT and the permalink structure.So, I have two CPT's:1. Cities2. Properti

    1天前
    30

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信