Create a Custom Page Templates
-
Hi I was trying to create a Custom template for a specific page.
I copied the file single.php to page_test.php
And I added the template name at the top of the page template.
<?php
/**
* Template Name: Test Page
*
* @package HelloElementor
*/
if ( ! defined( ‘ABSPATH’ ) ) {
exit; // Exit if accessed directly.
}
?>Page template created but it does not work with Elementor.
What is the way to create a template that will work properly with Elementor?
- The topic ‘Create a Custom Page Templates’ is closed to new replies.