#87: Gallery Grid-izing

We have the gallery area set up in WordPress it’s spitting out what we need it to spit out, but there is almost no styling at all on the page yet.

We start by going over the code in the functions.php file that sets up the custom post type that “Screenshots” are built from on this site. It’s a little involved, since there is no only a the custom post type and all the custom verbiage and whatnot that goes with that, but also a custom taxonomy and all the custom verbiage for that. This is so I can tag screenshots but not infest the global “tags” taxonomy.

For the record, that stuff should be in a functionality plugin not my functions.php file, but I’ll get to that eventually.

For the rest of the video we do what we’ve been doing on other pages: go line by line through out static mockup and move the relevant stuff over into the WordPress template file. There is some stuff in the WordPress area that we keep around because we’ll need it later, like where it outputs tags and where each image is wrapped in a link instead of a div.