Share parent path between Custom Post Types and Pages?
Here’s my situation: I have a custom post type I created called “professions” with three professions (“military”, “firefighters”, “law-enforcement”). I created a page single-professions.php to use as the post page. I set the slug to “heroes” in my register_post_type function: ‘rewrite’ => array( ‘slug’ => ‘heroes’, ‘with_front’ => false ) Here are the full options … Read more