WordPress is designed to use themes or plugins to output the final HTML, CSS, and JavaScript. You don’t normally directly include an HTML file, because it won’t have a way to connect to WordPress to do things like including an Elementor header or any content you can edit in the Editor.
Instead, for this type of thing, you will probably want to either create a child theme or create a plugin. Either way you can set up a PHP template that will use the HTML you want to use and allow you to pull in Editor content as well as Elementor header etc. Then you can create a page (or post, or a custom post type) in wp-admin and apply your template.
Related Posts:
- Shortcode content output but not in correct place
- how to changes mobile menu toggle breakpoint in WordPress
- PHP function for horizontal Woocommerce thumbnails and badges
- Cant get theme to change footer color through theme customizer
- Sorting Problem
- How do I change/modify the_post_thumbnail(); html output?
- Modify previous and next text from pagination links
- Calling a method from functions.php on a click of a button
- Best way of adding CSS which can be manipulated by the user via theme option panels?
- Multiple pages on one with different HTML
- Restrict WordPress File Type Uploads by User Type
- HTML table from shortcode with multiple parameters
- Minify HTML, CSS, JS with PHPWee?
- Using PHP to toggle stylesheet and header image, set in cookie
- Show post in slider
- Add itemprop Schema.org Markup to li Elements in wp_nav_menu
- Removing unneccessary p-tags (Not every p)
- How can I hide Home in my menu in a specific page?
- Missing sidebar parameter “fix” – before_content
- Randomise upload filenames (or another solution to hide the original image URL from theft?)
- How Display Posts on category
- Add a class to the anchor tag on HTML5 gallery
- Hide Hamburger Menu On Specific Page (Front Page/Home Page)
- how to remove metadata from the posts of my blog?
- How to style options page in dashboard?
- Converting HTML Template to WordPress Theme
- How to store data from multiple forms using ajax and php
- Use DOMDocument with ob_start breaks my HTML code
- Customize position of social icons in upme plugin [closed]
- Css loads very slow [closed]
- Different post styles depending on category
- How create a Shortcode with hover and complex options
- WordPress Multiple Navigation bars
- Auto 301 to full post permalink? (using : /archive/%post_id% to %post_name% )
- Redirect to another page using contact form 7? [closed]
- Noscript not working as it should in wordpress site
- How to make modifications only to certain elements of an HTML string on the server-side?
- Wrapping a Sidebar within
- How to make container class in PHP
- Where can I find the inline-css of my theme header?
- Menu Custom Data Attributes
- Adding function to child theme’s function.php
- Highlight the links without using dropdown
- Problem with adding custom CSS class to image in ACF Photo Gallery plugin [closed]
- How to use the checked() function to check for a non-empty var
- Calling function in loop causes repeat data
- Website completely messes up when logging out
- Need help removing […] after excerpt
- How can I use custom menus with a Bootstrap WordPress theme?
- Link to page with posts of specific type
- Convert all uploaded PNG files to PNG-8 format
- Displaying images outside the content
- Time Delay a URL Redirect for Specific Page
- WordPress User Meta value variable into Google Gauge Chart
- Background image no longer fits to screen now that project is in php files
- Adding HTML Code to Replace Text in PHP
- Add other class content with reference class value
- I can’t go to the page archive-{post_type}.php
- Problem with displaying CSS Stylesheets – Am I adding them correctly in my wordpress child theme?
- How to use data URL in WordPress?
- HTML comment cause issue in functions.php script root
- dynamic php menu with hidden sub-categories only showing when the category name is clicked
- Remove span tags from WooCommerce Downloads page
- Help me I cannot link my font-awesome to my WordPress Theme. I have my font-awesome folder already in my project
- Drop down question
- Can’t display anything through homepage text editor
- How to find and delete a menu item in php?
- WordPress Slider is not working
- How to display post meta bellow every posts
- Make a full-width wordpress page
- How to center all text body in single.php at once?
- Site title not showing. Please help me
- How can I get my pagination loop to display the correct number of total pages?
- Target a specific container to style on WordPress storefront theme
- Displaying POST content with HTML tags and all
- Can’t get_users info by using json_encode
- user update profile for custom code
- Show post/page into div using function
- Restrict File Type Uploads by User on Wordress via functions.php
- Highlight Single Page Ancestor
- Styling admin page rows in order of importance (checkboxes)
- WordPress HTML Helper
- Show contact 7 form in popup
- WordPress – Image href for home menu nav not working
- featured post as div background
- Trying to customize wordpress drop down categories
- How to add margin underneath woocommerce total price amount -> productpages
- Integrating CSS Into a WP Function Call [closed]
- How to customize posts in WordPress by using HTML and CSS?
- WP_Query not returning results
- Load slideshow.css file only if Slideshow is checked / on
- Header location [closed]
- How do I link the side images?
- Parse error: syntax error, unexpected ‘}’ in
- How to create a container in php then customise it in CSS
- Custom HTML/CSS Theme into WordPress – SEO considerations
- Generate and upload screenshot as featured image for user-submitted post
- ‘This Field is Required.’ is Not Displaying on CF7 [closed]
- Option value not getting updated until page refresh in WordPress
- Editing stylehseet url in head section of WordPress