Wim Teuling is instructor for the Digital Design and Development program (D3) at the British Columbia Institute of Technology and he has created an awesome series of tutorials about how to convert an HTML template to a WordPress theme.
The tutorials explain how to convert an existing static template to a fully functional WordPress theme, including customization options.
Note: Instead of a voice-over, text bubbles are used. The students can pause the tutorial at that point, and follow along. It is recommended to watch the videos in full-screen.
- Install WordPress
- Create new folder in wp-content/themes/ (the name of new folder should reflect client name or theme Name)
- Create a new “dev” folder in the theme folder.
- Copy static files to “dev” folder.
- Rename dev files according to the WP hierarchy.
- Activate WP theme in Pinegrow index.html root element.
- Add screenshot.png
- Get the template (Free) from https://www.gettemplate.com/info/initio/
- Get the Gitkraken app from: https://www.gitkraken.com/ (Mac & PC)
- Get the screenshot app from: https://getgreenshot.org/ (PC only)
- Add main loop to blog page
- Tag all dynamic content
- Add links
- Set up single.php page for single post display > Add main loop to single.html (–>single.php) and Tag all dynamic content
- Create header template part and assign to index.html and single.html
- Add site title tag and tagline to header template part
- Create main navbar template part and assign to index.html and single.html
- Activate main menu and assign a menu linking to blog and one post.
- Activate home page home.php
- Assign main nav template part.
- Activate page display
- Assign main nav template part to page.html
Part 4. Widget areas
- Define footer template part and assign to all pages
- Add footer widgets
- Define page widget area (sidebar)
- Add page sidebar widgets
Part 5. Adding Theme Customizer Options
- Assign a customize control to the header’s background and logo.
- Assign a customizer page load control to control home page intro element.
- Adding a second customizer section for the blog section’s page header background.
Author: Wim Teuling