A
A
Aigerim11082020-05-24 14:01:42
css
Aigerim1108, 2020-05-24 14:01:42

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

2 answer(s)
D
Dima Polos, 2020-05-24
@dimovich85

Learn a little about how WordPress works with themes and templates.

L
Luchiniel, 2020-05-24
@Luchiniel

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 question

Ask a Question

731 491 924 answers to any question