For further reading
For more information on the WordPress main stylesheet, please refer to https://developer.wordpress.org/themes/basics/main-stylesheet-style-css/
The style.css
file is required for every WordPress theme. While you can use the stylesheet to control the theme’s styles, WordPress also uses this to declare information about the theme in the Appearance dashboard panel. You can save information relevant to the theme in the header comment in your stylesheet.
The header comment for Project Zero looks like this:
/*
Theme Name: Sehanine (Project Zero Theme)
Theme URI: https://github.com/{USER-NAME}/{REPO-NAME}/
Description: A blank theme developed for budding WordPress theme developers. You can use this as a starting point for all of your theme development. The theme goes under the name of "Sehanine", after the Moonweaver deity from Dungeons and Dragons. She has been used in the liveplay stream Critical Role and is the Goddess of illusion and misdirection, appearing in a number of forms as fits her purpose. She's probably the best deity to name a theme after, since the purpose of a theme is to create a new image as you see fit.
Author: Nathan Hawkes
Author URI: https://www.nathanhawkes.co.uk
Version: 0.3
Text Domain: {REPO-NAME}
Requires at least: 5.0
Tested up to: 6.1.1
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
There are two placeholders in the theme details: {USER-NAME}
and {REPO-NAME}
. These are to help the Plugin Update Checker script find the correct repo.
{REPO-NAME}
is also set as the textdomain for translation purposes. It is required that your textdomain matches your theme’s slug. More information can be found in Internationalisation.