examples

You are currently browsing articles tagged examples.

Ever since I first released Tarski, people have asked “How do I do x?” Ever since I first added the hooks API to Tarski, my answer has often been “With a plugin.” However, there’s usually a follow-up request: “I don’t know how to do this; can you show me?”

It’s usually less work to write the code myself than to try to explain all the background knowledge someone will need to do it themselves, so I’ve ended up writing an awful lot of example plugins. For a while now I’ve wanted to list them somewhere on the site, so they’re easier to link to and keep updated, and today I finally got round to it.

You can see all my example plugins here.

Hopefully they’ll be of some use, both directly to users, and indirectly as a way to learn how to write simple WordPress plugins and interface with the Tarski API. I’ve separated them out into plugins that work with and require Tarski, and those that just use the normal WordPress API.

I’ve also published the plugin I use to customise the Tarski website, which may be of academic interest.

Tags: , , ,

I’ve moved a couple of little plugins and templates onto our Subversion repository; you can find them in the extras directory. Hopefully this will make me more inclined to keep them updated—as they stand, they’ve been tested on the latest version of Tarski, but of course if you have any problems with them just post on the forum.

I wrote some .htaccess redirects, so all the old links should be redirecting (if you find any broken ones, please let me know). Tarski 2.0.5 should be out early next week, with the usual bug fixes and enhancements.

Tags: , , , , ,