11 Jul '11, 11pm

@BillErickson this

As you may all know by now, WordPress 2.8 will have some optimization done on JavaScript as well as CSS. That includes concatenating the scripts/styles, minifying it instead of packing as well as gzipping. I have been paying much attention to the development of WordPress 2.8 especially when it comes to JavaScripts. I have filed 2 suggestion tickets in WordPress Trac, Ticket #8884 and Ticket #8859 which should be able to help plugin authors load their JavaScript easily in the footer of WordPress. This post shall be a tutorial post and I will demonstrate how to load JavaScript in the theme’s footer in WordPress 2.8 Nightly using my WP-Polls as an example. ### Function: Enqueue Polls JavaScripts/CSS add_action('wp_enqueue_scripts', 'poll_scripts'); function poll_scripts() { wp_enqueue_style('wp-polls', plugins_url('wp-polls/polls-css.css'), false, '2.50', 'all'); wp_enqueue_s...

Full article: http://lesterchan.net/wordpress/2009/01/26/loading-javasc...

Tweets

WordPress 3.2 Released

lesterchan.net 05 Jul '11, 12am

Here in the U.S. we are observing Independence Day, and I can’t think of a more fitting way to mark a day that celebrates ...

New Tech Wordpress Blog Black Hat Forum Black H...

blackhatworld.com 11 Jul '11, 7am

I just got myself a new Wordpress Blog.. wanna make it a Tech Blog! So which plugins are a MUST to install? and what shoul...

IPS post-GE2011 survey, part 2 « Yawning Bread ...

yawningbread.wordpress.com 12 Jul '11, 5am

These are loud warning bells for the PAP. As a party reputed to favour the elite, it is striking how it is failing to win ...