If I'm looking at a particular page, where can I find which .php file was used to generate the page, from the code of that page? I've been modifying the one that it would seem to be, but it's not the right one, as my changes aren't affecting it.
For example, if I wanted to modify a single post page, I would change "single.php", but this is one that was set up as a custom post type, and I'm modifying a file called "single-portfolio.php" based on an assumption, but it has no effect. So, clearly, I need to stop assuming, and simply find out which file it's using to generate the page.
But I can't for the life of me figure out where to find this information from looking at the page code. Can someone please help me?