Put Code Snippets in a WordPress Blog

I’ve installed WP-Syntax, a great plugin for WordPress that lets you add code snippets to your blog posts without losing all the formatting. You can use all manner of languages and even include line numbers if you want. Here’s a snippet from one of my math worksheet makers written in Perl: 5 use List::Util shuffle; # Use the Shuffle moduleuse List::Util shuffle; # Use the Shuffle module 166 167 168 169 170 171 # define […]

WordPress Pages and Babysitting Rikuto

What did I do today? I made a math worksheet about bus timetables, then I spent the rest of the day babysitting Rikuto while his mum was at work. We watched some Olympic volleyball, then played in the street on his little Thomas the Tank Engine train. Rikuto is suffering from diarrhea at the moment which means after holding him for a while, my arms smell of poo. What did I learn today? global $post; […]

New LongCountdown Theme

For the first time in ages, I’ve decided to ditch my own homemade WordPress theme and use somebody else’s instead. I chose the Amazing Grace theme by Vladimir Prelovac, and spent most of the day customizing it. I think Vlad’s theme is one of the better free ones, and I chose it because it was WordPress 2.6 compatible, with support for widgets, gravatars and a few other features. Yes, Jason convinced me to upgrade to […]

Recent Posts in Category – WordPress Plugin

Hot on the heels of my ‘If Older Than’ plugin for WordPress, I’ve put together another little script that returns a list of recent posts from a category you specify. So, for example, if you want to show a list of the last 10 posts from your Japan Food category, now you can. On the right you can see a screenshot of how I’m using it on one of my other websites. It’s especially suited […]

If Older Than – WordPress Plugin

It’s been a while since I made a WordPress plugin, but today I had the urge to put some ads on my blog, in places where my regular readers won’t see them. I could have used a plugin such as the Shylock Adsense Plugin, but it has far more options than I need. Instead, I made a little script to do this: My plugins are WordPress Old Skool NO fancy customization options in the admin […]

JapanSoc Toolbox

Welcome to the JapanSoc Toolbox, a page full of resources to help you get the most out of Japan’s fastest growing social bookmarking site for the foreign community. I’ve listed them in order of release, with new additions added as they become available. Please let me know if any of them are broken. The JapanSoc Bookmarklet – Submit while you surf The bookmarklet is added to either your browser’s bookmarks or links bar. You can […]

JapanSoc Voting Button for Blogs

By now you’ll know that I’ve started a social bookmarking site for everything Japan-related. If you’ve registered for JapanSoc and write about Japan on your own blog, then you’ll probably want this Digg-style voting button on your site. Update: The WordPress plugin for this button is now available directly from WordPress. Read about the updates here: New JapanSoc it! Button. April 14th, 2009. What does the button do? It allows your readers to easily submit […]