Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 2.3 KB

resources.md

File metadata and controls

54 lines (38 loc) · 2.3 KB

Resources

This page is to help you learn more about how to create the theme that best serves your project needs. Each of these resources can be used to augment the code. Think of it as a cookbook.

WordPress Coding Standards

Template Hierarchy

Theme Developers Handbook

The Title Tag

It's best practice to add theme support for the title-tag. However, If you don't want to use add_theme_supports for title-tag, you can add this snippet to your functions.php

<?php
if ( ! function_exists( '_wp_render_title_tag' ) ) {
	function theme_slug_render_title() {
	?><title><?php wp_title( ' | ', true, 'right' ); ?></title><?php
	}
	add_action( 'wp_head', 'theme_slug_render_title' );
}
?>

Favicons