Posts Tagged ‘JavaScript’

Filename cache busting for WordPress styles and scripts
WordPress Plugins | February 11th, 2013 | by Dominik | 5 Comments
WordPress adds the version identifier to the script and style resource as a query string. Most proxies don't cache these resources. You should encode the version into the filename. A plugin can handle this for you. read more...

How to enqueue the bundled jQuery in footer – The Right Way
WordPress Hacks | October 1st, 2012 | by Dominik | 5 Comments
WordPress comes with many bundles JavaScript libraries which can be enqueued in header or footer. This article shows a clean and nice way to register the bundled jQuery for the footer to speed up the page rendering. read more...

Change content of WordPress Editor Buttons
WordPress Plugins | September 28th, 2012 | by Frank | 2 Comments
Not every user likes the default settings how some buttons are displayed on the WordPress editor. As of right now, there is no possibility to adjust it directly via a filter. The following source code... read more...

WordPress Options Passed To JavaScript #2
WordPress Tutorials | May 18th, 2012 | by Frank | 4 Comments
In our first article of this mini series, I explained how to pass with JSON from PHP to JS. Alternativly you can do this with the WordPress function wp_localize_script(), but contains some pitfalls. Therefore this... read more...

WordPress Options Passed To JavaScript #1
WordPress Tutorials | May 16th, 2012 | by Frank | 16 Comments
In WordPress you are not always in the PHP world and so you have to pass settings and data from the database to scripts sometimes. In many Plugins you can find solutions in loading the... read more...

Comment Length Limiter
WordPress Hacks | December 9th, 2011 | by Frank | 5 Comments
If you have used Twitter, then you know that you are only allowed to type 140 characters in a single Tweet. There is a nice little number below the text field indicating how much is... read more...

