Answer the question
In order to leave comments, you need to log in
I insert an html file with my CSS and Javascript into Wordpress, but the html is displayed completely differently and js does not work either?
At first, I simply copied the html code and pasted the page into the WordPress page, then I copied the CSS and Javascript files into one folder of the current WordPress theme and wrote the paths correctly too. Didn't work and then tried with Includeme plugin didn't work either. Please, help!
Answer the question
In order to leave comments, you need to log in
Learn a little about how WordPress works with themes and templates.
look on torrents for a course from web-for-myself about wordpress (Kudlai Andrey leads). There is a step-by-step self-assembly of the wp theme, in the first lessons in the function.php file it just explains how to include scripts and styles. I do not quite understand why you need to push html. If this is a small piece of html, you can put it in the code editor. If this is a direct static layout that needs to be dynamically pulled onto wp, then that course will help you a lot.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question