I’m trying to create a custom comments page with pagination.
I have non-hierarchical custom type “apartments”.
It makes urls like:
/apartments/ - for acrhive
/apartments/%id%/ - for post page
/apartments/%id%/comments-page-X/ - for comments (X is some number)
How do I create page /apartments/%id%/questions/
for comments? And remove /apartments/%id%/comments-page-X/
if possible.
I would like to make this url structure for comments:
/apartments/%id%/questions/ - first page of the comments
/apartments/%id%/questions/page/X/ - pagination for comments (X is some number)
What is the solution?
I hope it helps lot to you.