Posted on January 22, 2017 in CSS Performance WordPress
Loading stylesheets in WordPress child themes the fast way
Loading stylesheets in WordPress child themes is a pretty straightforward process. According to the Codex, you just add a wp_enqueue_scripts action that loads the parent theme’s stylesheet as well as the child theme’s stylesheet. Easy peasy. However, you know me and extra asset requests š I hate to request multiple CSS or JS files if I can help it. Loading the parent stylesheet with WordPress’ recommended wp_enqueue_scripts is going to end up making two calls...