Created
August 11, 2017 10:15
-
-
Save ShahinAhmed7/9989109724f79414e652a1b8588f9017 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action('wp_enqueue_scripts','my_own_script'); | |
if(!function_exists('my_own_script')){ | |
function my_own_script (){ | |
wp_enqueue_style('style', get_stylesheet_directory_uri().'/css/basic.css'); | |
wp_enqueue_script('mw_one_script', get_template_directory_uri().'/js/basic.js'); | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment