5 June 2008

WordPress, k2, openid

by Anton Piatek

I use the k2 theme for this wordpress blog. I used to write my own, but k2 is much, much neater. I also use the openid plugin for wordpress. (I wrote about openid’s before)

To get the two to play together, you need to turn off live commenting.

In my case, as my blog is also my openid url (see this tutorial in delegating your open id if you want to use your blog or website as your openid url, and any provider), I had to add some code the the k2 style’s functions.php

add_action('wp_head', 'custom_header');

function custom_header () {
        <link rel="openid.server" href="...openid provider url..."/>
        <link rel="openid.delegate" href="...openid provider url..."/>

Now you have your own blog as your openid url, and your blog accepts openid’s for comments with the k2 theme 🙂

tags: openid - wordpress