Use custom template on custom post type
So I'm kinda stuck on something that I'm trying to achieve and unsure how to even target it, so below I will explain all that I have and what I have tried.
So I'm using the Genesis Framework and a child theme. I'm trying not to touch the Framework or the child theme, and do all the development inside mu-plugins but I'm having trouble targeting a custom template.
So I've created a custom post type that is linked as /profile/
so let's say I create a file called page-profile.php
, following WordPress hierarchy it will use my custom page first.
But how do I target a template that has a URL such as /profile/jake-ferguson/
where the author's name will be different each time?
Topic framework child-theme php genesis-theme-framework Wordpress
Category Web