Adding tabbed pages to Wordpress

As a side project I've been working on a way to get all my developing experience out of my CV and into a website. I started doing this in Django because that's what I knew best, but I decided to just implement all my desires in Wordpress. I haven't even begun adding content to my online portfolio, but I have been thinking about ways to display it. One of the things on my wishlist is tabbed pages/posts, so that's what I've been working on.

And here is the result.

My implementation uses a plugin for jQuery called idTabs on the client-side. On the server side I registered a new page type for wordpress for tabbed pages. The tabbed pages are hierarchical. The parent page is empty, and all child pages are added to the html as divs, which are converted to tabs by idTabs. Comments are added to the main post, and can be turned off when not needed. I really should open-source this stuff some time..

 

Posted in Tech | Tagged , ,