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?
- Restrict WordPress File Type Uploads by User Type
- HTML table from shortcode with multiple parameters
- Using PHP to toggle stylesheet and header image, set in cookie
- How to display a value from a radio button in the options menu in wordpress
- Custom image upload
- 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]
- How create a Shortcode with hover and complex options
- WordPress Multiple Navigation bars
- Add .htm extention to a custom taxonomy
- Auto 301 to full post permalink? (using : /archive/%post_id% to %post_name% )
- responsive.css in the WordPress should be prioritized
- How do I add a custom css to all posts without affecting homepage css? [closed]
- Noscript not working as it should in wordpress site
- height should be set to auto to avoid pixelation in the post thumbnail function
- How to make modifications only to certain elements of an HTML string on the server-side?
- Wrapping a Sidebar within
- Add Codepen animation as Preloader to WordPress
- How to make container class in PHP
- Creating a mobile site by adding a new class to the body tag from functions.php
- Upload multiple files in randomly generated folder using wp_upload_bits
- Where can I find the inline-css of my theme header?
- CSS change in woo commerce Place Order Text [closed]
- Adding function to child theme’s function.php
- 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
- 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
- WordPress User Meta value variable into Google Gauge Chart
- Add other class content with reference class value
- 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
- Drop down question
- Trying to generate a CSS file in wordpress uploads folder
- WP Website is shown in HTML
- Can’t display anything through homepage text editor
- How to find and delete a menu item in php?
- WordPress Slider is not working
- I got big white screen when i attach main style sheet of Html in functions.php
- How to display post meta bellow every posts
- how to add functions to my function.php using a child theme?
- Make a full-width wordpress page
- Site title not showing. Please help me
- PHP/CSS: Shortcode won’t display correctly, and only displays in the head (before content)
- Add class for the_post_thumbnail_caption()
- Target a specific container to style on WordPress storefront theme
- How to include different html tags in the header for different pages?
- Displaying POST content with HTML tags and all
- Can’t get_users info by using json_encode
- Restrict File Type Uploads by User on Wordress via functions.php
- Highlight Single Page Ancestor
- Font-Family does not looks like how it should be [closed]
- Save the outputted image into the Media Library, with a different filename and extension
- WordPress HTML Helper
- How to have Function of a plugin using global vars into a shortcode?
- WordPress – Image href for home menu nav not working
- How Can I Center the Logo in the Navigation Menu? [closed]
- Trying to customize wordpress drop down categories
- How to add margin underneath woocommerce total price amount -> productpages
- How do I get Roboto Google Font to display normal font-style? [closed]
- Integrating CSS Into a WP Function Call [closed]
- Load slideshow.css file only if Slideshow is checked / on
- Parse error: syntax error, unexpected ‘}’ in
- Add multiple HTML attributes to an Elementor button
- ‘This Field is Required.’ is Not Displaying on CF7 [closed]
- Option value not getting updated until page refresh in WordPress
- How to create different templates for woocommerce single-product.php?
- How do I make a shortcode to display Dokan seller badge list?
- Editing stylehseet url in head section of WordPress
- Calling a PHP function from a menu item
- How can I process a form submission from an HTTP POST request?