我正在尝试创建带有分页的自定义注释页面。
我有非等级定制类型的“公寓”。
它使URL类似于:
/apartments/ - for acrhive
/apartments/%id%/ - for post page
/apartments/%id%/comments-page-X/ - for comments (X is some number)
如何创建页面/apartments/%id%/questions/
征求意见?并删除/apartments/%id%/comments-page-X/
如果可能的话。我想为评论创建此url结构:
/apartments/%id%/questions/ - first page of the comments
/apartments/%id%/questions/page/X/ - pagination for comments (X is some number)
解决方案是什么?