jquery01.html
: A Jquery boiler plate.- The folders
css/
andjs/
with sample Jquery files.
-
Copy
header.php
from the Twenty Seventeen folder to your child theme folder. If you've got the file, just edit the lines in 2. -
Add support for Jquery.
-
In the Dashboard create a page or post. Save the page. Note the slug, and create a file named:
page-SLUG.php
(where SLUG is the page slug). -
Copy the code in
jq-and-wordpress.php
to your file and save it. -
View your page on WordPress.
Since there's no loop, there will be no content apart from what you do with the Jquery. If you want content, add a loop.