Just intercept the hook to determine which template to use. To make all pages act as the homepage:
add_filter( 'template_include', function($template) {
return get_template_directory() . '/index.php';
});
Just intercept the hook to determine which template to use. To make all pages act as the homepage:
add_filter( 'template_include', function($template) {
return get_template_directory() . '/index.php';
});