I have custom posts that I want to be shown in a different template.
Right now I have this:
All other default posts are on:
www.mywebsite.com/post aka www.mywebsite.com/%postname%/
Basically, I’m trying to find a function.php code, that identifies URL and applies another template.
So, if path www.mywebsite.com/travel/post, then load traveltemplate.php
Any help would be appreciated.