I’m pissed off.

I’m trying to write a sidebar widget for the new WordPress. It’s a really simple widget, in fact it only has one option. Since widgets are part of WordPress now, naturally I thought – as the premier blogging platform, that I’d find some well-written API documentation on the codex detailing how to go about interfacing with the dynamic sidebar and admin section.

HAHAHAHAHAHAHHAHAHA

Yeah I was wrong.

In fact, the best I could come up with was an insultingly nonchalant overview at Automattic’s website along with some kind of excuse for an API.

I defy anyone to write a sidebar widget that works with the built-in widgets UIs using the information on these websites. I reckon you can get close but there’s bits of information missing about the admin panel. Apparently there’s some Google Search widget that you can look at that’s well-commented but I can’t find that anywhere within my WordPress source tree.

Don’t get me wrong, I love the laid-back “cool Web 2.0″ style but there are boundaries. And saying API Documentation is “for eggheads” is a bit childish, honestly.

7 Comments

  • 1

    yeah wordpress documentation sucks donkey balls. I find myself having to dig through the source just about everytime I write something for wordpress.

    scott horne | http://web-professor.net

    29th June 2007 @ 17:38

  • 2

    You should see some of those eggheads’ explanation for forcing non-www compliance in Wordpress mu. They quote no-www.org as an official source for the deprecation of www.

    Dax | http://www.biggnuts.com

    29th June 2007 @ 19:00

  • 3

    Haha Rob, been there done that too… Hate the documentation for widgets…

    Joost de Valk | http://www.joostdevalk.nl/

    29th June 2007 @ 22:04

  • 4

    I tried and then hired a good coder for a tenner to do the job perfectly on my behalf. If you know your way around WP it’s easy. If you don’t its impossible.

    Patrick Altoft

    29th June 2007 @ 23:18

  • 5

    I’m a big fan of WP.org but I find the lack of documentation a serious pain. There’s also some strange arguments (like Dax refers to) on their mailing lists.

    Maybe it’s the old political answer: join their development team and try to nudge it in what you think is the right direction.

    Alastair McDermott | http://www.logon.ie/internet-marketing-blog/

    3rd July 2007 @ 22:50

  • 6

    Perhaps. I’d be more tempeted to start a new documentation site and just do it all myself. At very least it needs a complete function reference. Would only take a couple of weeks.

    Although that said I think a couple of weeks would be far better spent cleaning up some of the code. What I saw of it (and I think it was even recent stuff) was fucking terrible.

    Rob Haswell

    4th July 2007 @ 09:53

  • 7

    I am using wordpress for last one year and I’m a big fan of WP.

    HHC | http://www.homehealthcareclassifieds.com

    8th September 2008 @ 09:10

Write a Comment

*

*

*

SES New YorkA4U Expo Munich
Subscribe
to the David Naylor feed
Follow
David Naylor's Twitter feed

View Dave's Blog