Does exist some way to get the current searched hierarchy php page in Wordpress?
I've set a default category to my posts named post so if I digit http://site.com/post which php page is searched in the hierarchy?
It would be great to get the current page searched.
Custom Post Typewith theslugnamedphotoWordpress looking for the pagesingle-photo.php, does exists some way to print which page it's looking for? – vittorio Feb 10 '12 at 13:09