How to create a basic WordPress theme?
Change display name of theme in style.css:
/* Theme Name: Rose Theme URI: the-theme's-homepage Description: a-brief-description Author: your-name Author URI: your-URI Template: use-this-to-define-a-parent-theme--optional Version: a-number--optional . General comments/License Statement if any. . */
/* Theme Name: Web Lab Theme URI: http://wordpress.web-lab.solutions Description: Web Lab responsive WordPress theme Author: Web Lab Author URI: http://web-lab.solutions Version: 1.0 */
Template Hierarchy
Post Type Templates
header.php
wp_head();
footer.php
wp_footer();
Function Reference/is front page
Function Reference/get home url
Function Reference/get stylesheet directory uri
echo get_stylesheet_directory_uri();
get_option(‘admin_email’)