Create page template

you must create a template in theme root directory like below and create a new page in wordpress admin dashboard and choose template from right menu like image below: my-page-template.php: <?php /* Template Name: MyTpl_1 */ ?> <?php // your logic goes here … ?> and choose it from menu while creating a new page:

No templates for condition page.php Elementor

I finally figured out the problem and it was nothing related to the template files. I had dequeue jquery and instead re-enqueued my custom jquery as Jquery instead of jquery which is used by Elementor and that was the cause of the issue. This is how my code was. wp_dequeue_script(‘jquery’); wp_deregister_script(‘jquery’); wp_register_script(‘Jquery’, get_template_directory_uri().’/vendor/jquery/jquery.js’, false, ‘3.4.1’, … Read more