I’m a little confused. I’ve filled in some junk content just to test out my child template. I’ve got a “Static Home Page” and I’ve made the home page a “Recent Posts”. I’ve also created a handful of posts that use a category.
When I click on the title of one of these posts from the “Recent Posts” it ends up displaying all the posts. Playing around with the Category and Single templates it seems the category template is being used to generate the content instead of the single template. This is confusing because looking at the TemplateHierarchy help page it says that single.php should be invoked for “Single Post Display”. I would assume clicking on the title of a Post would be considered trying to display a Single Post.
But instead it pulls up the Category Archive.
Well I’ve looked at this diagram a bit
And it appears that to get the single.php invoked it needs to first pass the “is_singular()” boolean. And that leads to a “Single Post Page” which seems to imply it’s a Page and not a Post. So I looked up “Single Post Page” and read through this which didn’t really answer my question.
As the top answer says the Single Post Page means “The web page that only displays one, single, Post” which brings me back to, why is it that when I click on the title of a Post in order to view the Single instance of that post, it invokes the category instead of the single. And if it keeps invoking the category how do I get it to display ONLY that one post that I clicked on and not the most recent 5 or whatever.
I keep going in circles and am really frustrated by something that I feel should be absurdly simple.