Created
May 21, 2018 09:08
-
-
Save AlexandrKutsenko/91456ad69c01698fc1fd1dbc95ef8c45 to your computer and use it in GitHub Desktop.
Register theme styles
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
/* | |
* Register theme styles | |
*/ | |
function register_styles() { | |
wp_enqueue_style('main-theme-style-css', get_template_directory_uri() . '/assets/css/style.css'); | |
} | |
add_filter('wp_enqueue_scripts', 'register_styles'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment