This is driving me insane.
if (is_page_template('page.php')) never returns true for me, whether a page is using page.php or not. Systematic research gives the following situations:
Page uses template of page.php
if (is_page_template('page.php')) : FALSE
if (!is_page_template('page.php')) : TRUE
Page uses template of page2.php
if (is_page_template('page2.php')) : TRUE
if (!is_page_template('page2.php')) : FALSE
Why is this happening? Is is_page_template supposed to ignore page.php? If so, why? Is there some other easy way of testing for the page.php template?