Extra url paths as variable

I have this WordPress pretty permalinks structure:

https://example.com/house/name (where house define post_type)

I want this one url:

https://example.com/house/name/2/3 (that works like https://example.com/house/name, and parse 2 as “nights” variable and 3 like “people” variable). Is this possible?

I have search but not found any similar question.

Thanks in advance.

Read more here:: Extra url paths as variable

Leave a Reply

Your email address will not be published. Required fields are marked *