WordPress developers, please use wp_enqueue_script()

WordPress provides a number of useful JavaScript libraries for its plugin developers. They make it easy for plugin developers to leverage these scripts in their plugins using the wp_enqueue_script() function ( not to mention various styling with wp_enqueue_style() ). In fact, if Continue reading WordPress developers, please use wp_enqueue_script()

JavaScript namespaces and jQuery.noConflict()

I’ve been writing JavaScript and utilizing the jQuery library for a good 7 years now. I’ve recently come across a situation where I had to write code in a jQuery.noConflict() environment. This means the infamous $ jQuery shorthand that everyone Continue reading JavaScript namespaces and jQuery.noConflict()