Have you ever pushed out an update that included modifications to scripts or styles and then later had to tell someone to clear their cache or do a hard refresh in order to see the updates? There is actually a very simple way to avoid this scenario and force the browser to display the updated [...]
View PostHome» Posts tagged "wp_enqueue_style"
Writing Your First WordPress Plugin Part 4
Posted on
by
Pippin
in
Beginner, Free Members, Member Restricted, Tutorials, Video Tutorials, Writing Plugins
22 Comments
In part four of Writing Your First WordPress Plugin, I demonstrate how to load style sheets with your plugin. I also walk you through some best practices in terms of efficiency in regards to when you should, and should not, load styles/scripts with your plugin. This entry is part 4 of 7 in the Writing [...]
View Post add_action, CSS, wp_enqueue_script, wp_enqueue_style