The document provides instructions for creating a basic WordPress theme from scratch. It outlines the required files and functions needed, including style.css, index.php, header.php, footer.php and functions.php. It walks through setting up the theme structure and design, adding features like menus, custom headers and backgrounds, widget areas, single post templates and comments. A starter HTML design and files are provided to help build out the theme functionality.
8. Starter Content
➤ HTML Design: https://www.styleshout.com/free-templates/keep-it-simple/
➤ Workshop Content: https://github.com/HardeepAsrani/wp-massively
➤ Workshop Content has two folders, start and finished.
➤ We will use /start/ folder to make a theme.
➤ If you want to see the completed theme, you can see the /finished/ theme.
9. 1. Theme Info - style.css
/*
Theme Name: WP Massively
Theme URI: https://github.com/HardeepAsrani/wp-massively/
Author: Hardeep Asrani
Author URI: http://www.hardeepasrani.com
Description: A learning project for WordCamp Singapore.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wp-massively
Tags: blog, custom-logo, one-column, two-columns, custom-background…
*/
/* Rest of your CSS goes here. */
10. 2. Initial index.php
<?php get_header(); ?>
<?php // Rest of your content goes here. ?>
<?php get_footer(); ?>
45. Where to go from here?
➤ WordPress Theme Development Handbook: https://developer.wordpress.org/
themes/getting-started/
➤ WordPress Theme Review Team Guidelines: https://make.wordpress.org/themes/
handbook/review/required/
➤ If you have any questions then standing right in front of you.
➤ Tackling at home and got stuck somewhere? Have any question? Just open an issue
at: https://github.com/HardeepAsrani/wp-massively/issues