I have a custom post type called recordings and they have a post_parent of room

I want to have a link of domain.com/recordings/{{room-slug}}. But I dont think I can use the slug like I want to so if I have to use the actual post_parent ID then thats fine too. The actual link wont be visible, just the button that directs to that link.

function zoom_rewrite_rules() {

QUESTION 1: Will this rewrite rule work?

QUESTION 2: I want to make my own template to display all recordings that have post_parent equal to $matches[1]. I can do the query on my own its just what page would I create to do this?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.