Skip to Content

WordPress: AJAX pagination with jQuery

Implementing an AJAX pagination system in WordPress is usually achieved by fetching the HTML content of every page linked by the pagination elements. This is the wrong way to implement this feature. Instead, we can get better results by using the WordPress AJAX APIs.

Continue Reading

A Flickr gallery with plain JavaScript

Flickr uses JSONP to deliver its JavaScript APIs. jQuery handles JSONP automatically with its $.getJSON() method but in JavaScript the approach we should follow it’s a little bit more complicated.

Continue Reading