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.
WordPress-JSON Posts (1.26 kB)








Hi,
download link for the script dosn’t work, can you please repair it or PM me with working one.
Really looking forward for this one.
And of course tnx for effort to “bridge that gap”.
Tnx
Miles
@Miles – Hey, sorry about that. The plugin we have been using for downloads recently upgraded. I guess it broke something when we did that. The link in this post should work now. Thanks for letting us know that it was broken.
Brandon,
I’ve tried to get this script to work for a while now, and its turning my hair white! I keep getting the “Try Again” error.
Have you been able to get this to work, and can you offer any advice on what the heck I’m doing wrong?
Thanks,
Tom
@tm3909 – I bet you’ve got a mixup in your paths. If you drop us a support request with ftp credentials, we can take a look at it.