OK. I have page template called “bannerpage.php”. How do I call this page so that the contents of this page are displayed on the homepage.php
I know that most common templates that have associated template tags (i.e., , , , etc.), can be called but I don’t know how to call a “non-standard” template like bannerpage.php in WordPress.
Any help would be much appreciated.
in the
homepage.php
file addinclude('bannerpage.php');
The best way is to select the your page template from the backend page.
Or..You can also include it in ome page by :
Use get_template_part();
From WordPress Codex