One of the biggest, and most useful additions to WordPress in recent years has been the introduction of Custom Post Types. Before CPTs, all the content in your site needed to either be in pages or in blog posts. If your site needed a lot of different types of data, you’d typically use categories (or even tags) to tell them apart. I’ve seen (and probably built) examples where “products” and “news” were post categories, and the site’s front-end would continuously filter out one of the two. In hindsight: madness.
Since the introduction of Custom Post Types, it makes sense to declare separate types for different types of data. When doing so, there’s a crucial argument (passed to the register_post_type function) called “supports”. This argument tells WordPress which post features should be available for the new post type. This allows you to mix and match various features. No need for an excerpt? Require a “featured image”? Need custom fields? No problem. But there’s a catch.
More Custom Post Features could make WordPress even more flexible
When I first heard about Amazon’s Simple Storage Service (S3) in 2006, I wasn’t sure what anyone was ever going to use it for. It was not quite a web hosting service, because there were no extra services like PHP or MySQL. Or even FTP access. This was clearly aimed at developers, but most of those would probably have their own dedicated server boxes with tons of storage, right? Until I stumbled across a ‘use case’ for it this week. I signed up and found it to be a very flexible and useful service.
More Amazon S3 – pay-per-view online file storage
It’s here. Yesterday a colourful box arrived that contained our new house pet. My daughters fell in love instantly, but my own initial joy was tempered somewhat by the fact that it took me an entire evening to get it online. As it turned out, the bunny uses a 802.11b network card (apparently, 11 mbit is sufficient bandwidth for the rodent). My router however was set to “g-only” because I ‘d never had a ‘b’ device before. Entirely my fault, and as soon as I changed this setting the bunny’s lights turned green and I was good to go.
More Setting up Nabaztag
Last week’s Christmas celebration at work also marked my last gettogether with the people I’ve worked with for all these years. Saying goodbye to collegues I’ve come to regard as friends wasn’t easy, but the gift they got me really made my night. It will take a while to be delivered, but I can’t wait for my Nabaztag to get here.