I have a list of custom post types, which includes one called "Tall_Homes" and a home page of six boxes generated from six different custom post type excerpts. They all link successfully to content-single.php, via single.php where
$post_type = get_post_type( $post->ID );
is used to write each page. They all work except for Tall_Homes, which doesn't reach the single.php page. Instead it generates this error:
Warning: include(.../post-template-tallhomes.php): failed to open stream: No such file or directory in ...\wp-includes\template-loader.php on line 74
However, there is no "tallhomes.php" template and this spelling of "tallhomes" is not found in the custom post type setup. I don't know where it's coming from.
Which one of the register_post_type items or args contains the information used to generate the template name? Any idea how to fix this?