DownloadSOURCE FILES DemoVIEW IT ONLINE When working my way through a web gallery, I find it annoying when I must change pages; so in today’s tutorial, we will learn how to create an auto-generating, one-page, infinite scrolling gallery with PHP and AJAX. Let’s get started! Step 1: Project Outline We’ll begin with a normal gallery … Continue reading
Tag Archives: Pagination
How to Create an Infinite Scrolling Gallery in 10 Minutes
Pagination is a technique used to break large data sets into small blocks in order to reduce the server load. We used to create pagination buttons with page numbers and next/previous links. Now pagination has gained a new perspective with infinite scrolling. Are you new to infinite scrolling? Then take a quick look at … Continue reading
How I learned to create Infinite Scrolling
Recently a client asked if he could have infinite scrolling on his website – and after having a good look around on a few websties, I found no decent tutorial. After working it out and having it work quite effectively (see www.matchlessphotography.com) I thought it perhaps a good idea to share with you how I went … Continue reading
Custom Pagination without WordPress Plugins
On day 9 of our Advents Calendar we show a custom pagination function which allows a user to insert custom next, previous or numbered page links into a post. Use the follow code for an custom plugin or insert the function in your theme, inside the functions.php. Please see the second code-area for an example … Continue reading
How to use Thumbnails with Previous and Next Post Links in WordPress
One of our users asked us on our Facebook page: How to use thumbnails for previous/next post navigation in WordPress. The next_post_link and previous_post_link functions doesn’t have a simple enough thumbnail parameter which a new developer can simply turn on and off. In this article, we will show you how to use post thumbnails with … Continue reading