Wordpress

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

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.

Blog Pile, Wordpress

Found. The WordPress Search Solution. Hewn by Hand.


cc licensed flickr photo shared by jbelluch

I’m hopeful I have an optimum (or optimummer) search solution for my blog- not that I care if you can find anything here, but its important that I do. Back in March I vented my frustration about the limits of WordPress search, yet despite the experiments with plugins, none of them really worked for me, and one of them just spun wheels trying to index my site, and just ended up bloating the database.

But in about 45 minutes of tinkering this afternoon, I have an approach that gives me exactly what I wanted, and does not need any plugins. This will work only for a self hosted WordPress blog, and you will have to do a little bit of manual page creation, touch the code, and edit your templates.

Is anyone still there?