Conditional Tags
https://developer.wordpress.org/themes/basics/conditional-tags/
Is a Page Template
檢查是否在使用一個頁面模板
is_page_template():是否「默認的」Page Template被用
is_page_template( 『about.php』 ):是否Page Template 『about.php』被用。
注意:如果頁面模板文件在子目錄,需要加上子目錄路徑,如: 『page-templates/about.php』.