function wpturbo_register_my_custom_styles(){
wp_register_style( 'my-style', get_template_directory_uri() . 'style.css', array() );
wp_enqueue_style( 'my-style' );
}
add_action( 'wp_enqueue_scripts', 'wpturbo_register_my_custom_styles' );
Register Style Generator
Related WordPress generators Register script generator Widget generator Sidebar generator Go back to all generators