title: Find out whether a template file is used by a page and get that page -Wordpress
body: <p>I'm developing now a wordpress theme, and wondering if there is an option to know if a template file is being used by a page?
  I need the link to that page...
  thanks!</p>