I am trying to include my styles.css stylesheet in a wordpress theme I am trying to develop (my first one). Question: How would one go about including it? I know putting the following code in my header.php file works:
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>">
however I would rather like to include it through functions.php like so:
<?php
function firstTheme_style(){
wp_enqueue_style( 'core', 'style.css', false );
}
add_action('wp_enqueue_scripts', 'firstTheme_style');
?>
yet this doew not work at all (When i remove the line from my header.phps 'head', my styles are not seen?
<?php wp_head();?>
in your header.php – Adz