How To add jquery and css in child theme or theme Wordpress
Hello
Here We learn that how to add js and css in your theme or child theme.
When you want to add jquery and css using code then fist open your functions.php file
<? php
wp_enqueue_styl e( 'custom- c ss' , get_stylesheet_directory_u ri( ). '/css/cust om. c ss ' ) ;
}
add_actio n( 'wp_enqueue_scripts', 'myphpinformation_scripts ' ) ;
g
<lin k rel="stylesheet" type="text/css"href="mystyle.css">
0 komentar:
Post a Comment