cc licensed flickr photo shared by Duncan Kinney Oh what a tangled blog I weave mangle. I thought it would take a few posts and days to document the work I started in April to use the then beta features of WordPress 3 to develop the NMC’s MIDEA web site. And just trying to write up the last few, I can see it is a heap. So while I have maybe two more to write up, I wanted to make this to be the hub post to all the others. You can also find these (and whatever comes in the future) tagged here as wp3 http://cogdogblog.com/tag/wp3/. Overview of WordPress 3.0 Content Types- my plans to dive in Creating the content types. The easiest part, and the beauty of functions.php Leveraging child themes- my newly discovered best practice for chopping apart themes. Adding the meta data field editing boxes (add_post_meta). This [...]
(see the full barking...)CogBlogged Tagged ‘wp3’
Pinning WordPress 3 Custom Content to the Map (b)
cc licensed flickr photo shared by QualityFrog In a previous long winding post, Dressing up and Displaying WordPress 3 Custom Post Content (a), I tried to document the first part of my WordPress 3 site I manipulated the new Custom Content types. It seems it takes longer to explain that to build, and in the end, I’m wondering if it is even explained. Leading up to this, I began by overviewing the plans for a new web project, we set up the places to create the new content types, and introduced the benefits using child themes. Then we dove headfirst into the code to create the interface and data elements to add/edit the custom meta data for each of the three content (post) types. Getting your content onto your site is a matter of manipulating The Loop and then writing new side loops where needed to put things on the [...]
(see the full barking...)Dressing up and Displaying WordPress 3 Custom Post Content (a)
cc licensed flickr photo shared by Thomas Hawk Yikes, where did the time go? I’ve let slide the next piece in my now fractured series on using the custom post types added in WordPress 3.0. As a recap, what I am sharing is what I learned back in April (using the beta version of WP3) to create the NMC MIDEA web site. This site had a need to create, besides the usual page and blog post types, other content for projects, organizations, and events, each with its own extra custom meta-data. Before I go crazy with PHP here, I want to note that this will get technical and is written really for myself as a set of notes and others who have no hesitation to roll up their sleeves and muck around with templates and code. This is not the optimal way to use the new WordPress features, and it [...]
(see the full barking...)Put on Your HazMat Suits- Setting Up Metadata For WordPress 3 Custom Content Types
cc licensed flickr photo shared by StayRAW In the previous posts in this series of using the new WordPress 3 Custom Post Types (I keep calling them custom content types, same thing), I overviewed the plans for the MIDEA web site, we set up the places to create the new content types, and diverged into some set up magic using child themes. That was the easy stuff. Now I get into the parts I had to more or less invent on my own (well, with some good leg ups from others)- how to add all of the form field elements to my new content types so I could add extra information to them. This are fields for say, my Organization content types, to have a field to enter their web site address, latitude/longitude for doing some mapping, etc. Now I did this all in custom code, and as hopefully I [...]
(see the full barking...)Those Darn Kids: WordPress Child Themes
cc licensed flickr photo shared by gianĪ©merz I’m regretting not getting started my series on WordPress 3.0 and custom content types; a big chunk remains to be explained, but that has to wait till after a few days of vacation. But there was something Jim Groom mentioned that I was going to tackle later, but can inset now; it’s a powerful piece that’s been there quietly, that I used on the MIDEA site– Child Themes. In all of my WordPress work I find a theme I like, download it, and then start ripping it to shreds. This makes it near impossible to update if the theme later changes. Children take care of that. What happens is that you download the Perfect Uber Theme and install it. But rather than start tinkering, you make another directory in the theme directory, call it something memorably like “Child of Bava” (mine is called [...]
(see the full barking...)Setting up Custom Content Types in WordPress 3.0
cc licensed flickr photo shared by TakenByTina My previous post just outlined the kinds of things I put into a new site created with a beta version of WordPress 3 (I started with the first beta and honestly, it had more polish than most finished products) – I actually did not tell you much. Now it’s time to get out and start hacking. In this post, I’ll detail what I did to create three content types on the MIDEA site. You will see code, raw PHP out in the open. While there is an excellent plugin for creating custom content types (I did try it out and also parsed through the code to see what it did), it only did about 15% of what I wanted. Creating the content types are easy. But the plugin does nothing to help you add the form elements to create, edit the extra meta [...]
(see the full barking...)Building a Site with New WordPress 3.0 Content Types: Part 1 of Several
I’ve been happily tinkering with the beta version of WordPress 3, down in the bowels of the code, mixing unmarked vials of PHP over open flames, etc for a brand new NMC site. The main thing I have been working on are exploiting the feature to create my own types of content with their own properties. Essentially up to know you could create two kinds of content- posts and pages, with pretty much the same feature. Any additional descriptors one wanted to add needed to be done via custom fields. The idea is now, I could create a kind of content, say to build an encyclopedia of dogs, and use all of the WordPress features to make an entry (title, post/content, tags). But to my Dog content type, I could also add additional fields, like radio buttons to classify them by “small”, “medium”, or “large”, a field to enter a [...]
(see the full barking...)



