CPT Single Post Template with Content Check

This code is written to work with Pippin’s Easy Custom Post Types. While we’re making heavy use of Types & Views these days (check them out, they’re freaking awesome), we thought this code might be handy to someone out there in WP land.

We used this function to create a custom post type for listing attorneys at a law firm, saved as a post template called single-attorney.php.

stuff we dig

FYI: yes, the above are affiliate links, so we do make a small amount of money if you follow them over and buy what they're selling. Thank you for helping pay our hosting costs!

Dave Kuhar

Dave is the jack-of-all-trades running Transmit Studio, a media creation lab in San Jose. He's built more websites than he can remember, well over a hundred of them on WordPress. Whether it's tradeshow booths, video/TV, graphic design, presentations, magazine, tearsheet, and catalog layout, corporate identity packages, or just about any other kind of visual communication project, he's worked on it!

Leave a Comment