In blog

In some case you might want to add elements to theme header. We are using child theme and didn’t want to disrupt parent wordpress theme. This wordpress snippet should do the job   [code] function theme_styles() { wp_enqueue_style(‘linaro-css’, ‘/app/css/app.css’); wp_enqueue_script(‘linaro-js’, ‘/app/js/app.js’); } add_action(‘wp_enqueue_scripts’, ‘theme_styles’); [/code]

Recommended Posts
0