contact

or cancel
php_simple_pagination

Simple PHP Pagination Code

The Problem: You have a data set (array) and you want to paginate it. You know the page you are on, and how many results per-page you want to display. The Solution: This simple script has an input of those … Read more…

Author

Matt

Category

PHP

new-prime-footer

Footer Fun with PHP, Part 3: WordPress Posts

Our final addition to the PHP footer chronicles is adding some basic information about our most recent blog posts. We have written about Getting Blog Posts from WordPress before, but will toss up a slightly different method in this post. … Read more…

Author

Matt

Category

PHP

Footer Fun with PHP, Part 2: Flickr

Following our Twitter PHP blog post, we need to talk about Flickr. Flickr continues to be our choice of a photo sharing tool, mainly because their API support, and we appreciate some of their smart server-side handling of images. This … Read more…

Author

Matt

Category

PHP

Footer Fun with PHP, Part 1: Twitter

We recently rebuilt our footer and made sure to add some of our social outlets, like our blog posts, Twitter feed, and Flickr feed. This can sometimes cause a headache for a developer because there are so many choices on … Read more…

Author

Matt

Category

PHP

Getting a Whole-Word WordPress Summary

We just wanted to share a quick snippet that we use all the time to make custom WordPress summaries inside our PHP code. Sometimes the native WordPress “excerpt” doesn’t fit your needs, so creating it on the fly is a … Read more…

Author

Matt

Category

PHP