From July 2009

Expanding the Twitter Post Loading Concept to WordPress

I read a great tutorial over at NetTuts today that showed how to create a “Twitter-Like ‘load more'” button. It was grounded in WordPress, yet the author David Walsh wanted to keep it general so that anyone could integrate the functionality into their PHP code. He got his hands a bit dirty by accessing the WordPress database with raw MySQL commands and writing his own SQL which WordPress has worked hard to hide for most tasks. He left out the details of how to integrate this idea into WordPress using its built-in functionality. I’ve written a little code to bridge that gap. So, head over to the original tutorial and read up on the idea and then return here, download my PHP file as a replacement for David’s PHP/MySQL file. You can drop this file in your web root  and load additional posts with it.

[download id=”1″]