I have the following code in my functions.php file. It works, but I am wondering if this is best practice for including styles in wordpress. Also do I need to register the style with wp_reister_style, since it works without and why do I need to do so?
<?php
function mrskitson_load_styles(){
if (!is_admin()){
wp_register_style('main', get_template_directory_uri() . '/style.css');
wp_enqueue_style('main', get_template_directory_uri() . '/style.css');
}//if not admin ends
}//function mrskitson_load_styles ends
add_action('get_header', 'mrskitson_load_styles');
?>