I am new to Wordpress and I need to convert a PSD int a Wordpress theme. For that I downloaded a naked wordpress theme to start with and I tried to add my own css style in function.php as follows:
function naked_scripts() { // get the theme directory style.css and link to it in the header wp_enqueue_style( 'main-style', get_template_directory_uri() . '/style/main.css' ); wp_enqueue_style( 'responsive-style', get_template_directory_uri() . '/style/responsive.css' ); wp_enqueue_style( 'bootstrap-style', get_template_directory_uri() . '/style/bootstrap.min.css' ); // add fitvid wp_enqueue_script( 'jquery-js', get_template_directory_uri() . '/js/jquery.js', array( 'jquery' ), '1.10.2', true ); // add theme scripts wp_enqueue_script( 'bootstrap-js', get_template_directory_uri() . '/js/bootstrap.min.js', array(), '3.0.3', true ); } add_action( 'wp_enqueue_scripts', 'naked_scripts' ); // Register this fxn and allow Wordpress to call it automatcally in the header but in the browser I did not get my style and I have his error:
GET http://rota.alwaysdata.net/wp-content/themes/theme1/style/main.css?ver=4.1 what's ver=4.1 ??