Answer the question
In order to leave comments, you need to log in
How to embed html page in wordpress?
Good day.
Made a website on wordpress. Now they threw off the page, asked to add it to the site.
<!--Данный фрагмент кода необходимо вставить в конец страницы, перед закрывающимся тегом </body>-->
<link rel="stylesheet" type="text/css" href="http://svoydom.online/catalog/view/theme/dom31/stylesheet/svoydom.online.css"/>
<script type="application/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="application/javascript" src="http://svoydom.online/catalog/view/theme/dom31/js/svoydom.online.js"></script>
<!--Данный фрагмент кода необходимо вставить в конец страницы, перед закрывающимся тегом </body>-->
<!--Данный фрагмент кода необходимо вставить в место вывода каталога-->
<div id="catalog_products_put">
</div>
<!--Данный фрагмент кода необходимо вставить в место вывода каталога-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>
</title>
</head>
<body>
Answer the question
In order to leave comments, you need to log in
Hello!
1) jQuery is already connected to the VI. If you want to connect your own jquery, then do it via functions.php
Here, I answered how to connect and why the VI "does not understand" the dollar sign - How to properly connect jquery in wordpress?
2) Eliminate synth. errors in your scripts (if any)
3) include scripts and styles for this page through functions.php if you need to load styles for only one page, then use the page ID (conditional tag is_page (ID))
4) create a template for the VI. Name it page-{slug}.php Add a Template name:
5) paste your html there and create a separate header-{slug}.php footer-{slug}.php if needed. Accordingly, in the template, specify get_header() & get_footer() with the slug header &
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question