WordPress theme development – Connect your styles and scripts

1. Connect styles So, we already have the pre-integrated slicing, now we need to set up it on WordPress, copy the folders /js and /styles into the theme folder wp-content/themes/test_themes/ In wp-content/themes/test_themes/ we need to create functions.php. To connect your styles in functions.php to the theme write down: register_styles – free-handed function name. wp_register_style – registers CSS file in WordPress. After registration, you can add […]