Anatomy Of A WordPress Plugin: Loading CSS & JavaScript Together

In the last couple of posts in this series I’ve taken a look at using wp_enqueue_scripts to load the CSS and JavaScript files. In those examples, the CSS and JavaScript were loaded via different functions. However, we could use add_action to call one function to load both the CSS and… Read more“Anatomy Of A WordPress Plugin: Loading CSS & JavaScript Together”

Anatomy Of A WordPress Plugin: Loading The CSS

The majority of the plugins I have created have created have an output visible to the user. For example, the Posts Archive can be used in a widget (see the side menu) or on a page. And to display the output to the best advantage it needs to be formatted;… Read more“Anatomy Of A WordPress Plugin: Loading The CSS”