How to Call stylesheet wp_enqueue_style
-
[ Moderator note: moved to How-to and Troubleshooting. ]
My create wp_enqueue_scripts functions. my create function not working.
add_action( ‘wp_enqueue_scripts’, ‘theme_name_scripts’ );
function theme_name_scripts() {
wp_enqueue_style( ‘style’, get_template_directory_uri() . ‘/css/style.css’, array(), ”,’screen’ );
wp_enqueue_style( ‘wide’, get_template_directory_uri() . ‘/css/layout/wide.css’, array(”), ”,’all’ );}
How can i query same html bellow
<link rel=”stylesheet” type=”text/css” href=”css/style.css” media=”screen” data-name=”skins”>
<link rel=”stylesheet” href=”css/layout/wide.css” data-name=”layout”>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to Call stylesheet wp_enqueue_style’ is closed to new replies.