2 February 2009 28 Comments

How to use jQuery with a JSON Flickr feed to display photos

How to use jQuery with a JSON Flickr feed to display photos

So today I needed to display photos from our Flickr Group without using php or asp.net. I have a WordPress widget that does this job nicely, but no PHP was allowed. Thank goodness for jQuery! jQuery has a handy little function which allows us to load JSON data using an HTTP GET request, and then [...]

2 February 2009 2 Comments

How to write a WordPress Twitter Widget – Part 3 of 3

How to write a WordPress Twitter Widget – Part 3 of 3

Welcome to the final part of our tutorial on how to write your own WordPress Twitter Widget.

19 January 2009 1 Comment

How to write a WordPress Twitter Widget – Part 2 of 3

How to write a WordPress Twitter Widget – Part 2 of 3

Welcome back! So you should have read through part one of the tutorial, where we left things off with the following line of code: $result = $t -> userTimeline($id=false, $count = ($options[’tweets’] * 4), $since = false); (If that looks strange, make sure you check out part 1 of this tutorial!) We now have our [...]

12 January 2009 3 Comments

How to write a WordPress Twitter Widget – Part 1 of 3

How to write a WordPress Twitter Widget – Part 1 of 3

So you may have noticed in the sidebar over there on the right there’s a bunch of my recent Tweets. There are plenty of WordPress Twitter widgets, some better than others, but why not start and write your own? In this three part tutorial we’ll look at putting together the basic code, and then in [...]