These posts document experiments in hacking and tweaking Wordpress; I hardly call myself expert, but I do like to tinker under the hood. If there is something I can do for you, bark my way or visit me at http://cogdog.it


NaNoWriMo-ing In the Open

cc licensed flickr photo shared by zenobia_joy Against every sane, rational, “I’m so over committed I’m gonna explode” thought, I have decided to plunge my hand again into National Novel Writing Month (NaNoWriMo), the challenge where aspiring, and maybe aspired, writers take on the goal of writing a 50,000 word novel over a one month […]

Blog Pile, Wordpress

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 stated earlier, I have no expectation that this is the way it will be dobe going forward. I foresee a raft of new plugins coming in that will take away this manual code layer, and maybe, when WordPress 3.7 or 4.1 comes out, it might be built in. I have no idea. I did this to show the WP platform can do this.