#PHP

Center a Google Map on the Latest WordPress Post

This is a follow-up to my previous post on integrating WordPress and Google Maps. Damien asks: “Would it be possible to centre the map on my latest post?” Yes, it is! This builds off the example in the previous post and I’m using the Address Geocoder plugin to set latlngs. Read more

Integrating WordPress and Google Maps API V.3

Here we will go through the steps for creating a Google Maps interface for a WordPress blog. Posts will appear as markers on the map, which you can click to reveal the post content in the Google Maps Infowindow. Download a ZIP of the complete example. Read more

Creating a WordPress Tag Search using jQuery

The technique applied on Seth Anderson’s photo site. The WordPress taxonomy functions make it easy to give your visitors links to per-tag archives of posts. But is it possible to give them archives of more than one tag? Sure it is! Read more

Showing Images from the WordPress Attachments Gallery

I’ve been upgrading artist Flavio Trevisan’s site to take advantage of some of the features that have been added to WordPress since we first did the implementation. This gave me the opportunity to revisit a PHP function I use to pull images from the WordPress attachment gallery for use in jQuery slideshows. Read more

Creating a WordPress Categories Page using Nested Loops

Do you find yourself with a bunch of Posts organized into Categories and are thinking, Wouldn’t it be nice to make a page where people can get a taste for what’s in each Category? I found myself in exactly this situation with Seth Anderson’s photography site. Read more

Creating the Grange Prize Online Vote

The vote page of the 2010 Grange Prize The Grange Prize is an annual contemporary photography prize. The winner is chosen through a people’s-choice vote conducted in-gallery and online. When the AGO took over the site this year, our goal was to create an easy to use and reasonably secure voting mechanism. Read more

This website is hosted by Media Temple. Thanks, guys!