So I have a custom post type that is called recipe
and then I have a page called /recipes/
- What would be the proper way to hook a template for my recipes page?
I have the file single-recipe.php
following the WordPress hierarchy with this inside:
<?php
/*
Template Name: Recipe
Template Post Type: post, page
*/
echo 'Hello';
But I'm not getting any templating output:
The below is my folder structure: