Good day guys! I created a php file named test.php and i put a simple code
<h1> Sample Text </h1>
How to call my custom page to
front-page.php just like how
get_footer() are called?
Do you want to include your test.php in front-page.php?
You can use get_template_part() for this.
As parameter use the path to file without ending, e.g. if it is in root:
<?php get_template_part('test'); ?>