The title may be a bit of a mouthful, but it explains the purpose of this post. Similar to my previous post, this guide serves as a reference for myself but I figured others might also find it useful. Continue reading »
Entries tagged with "guide"
WordPress HTTP API
Welcome to the first in a series of articles on APIs provided by the WordPress core. Each article will document and hopefully explain how to use the features provided by WordPress to save you writing unnecessary code. Continue reading »
Playing with Geolocation and Konami
Ever since I started work on HybridLogic I’ve been dropping in Easter Eggs, adding quirky little things for those adventurous souls to find. With the latest version of HL though I really wanted to add something special, ideally using the famed Konami code trigger. In the end I created a very quick mash-up of some new technology to add a bit of fun to HL. Continue reading »
Shortlink support in WordPress 3
A plugin I made a long time ago for WordPress 2.x created short URLs for posts and stored them as a custom field for later use. This meant posts would get an automatic tinyurl (or similar address) for visitors to use. It always annoyed me however that this wasn’t built into the WordPress core. Not the generation of short URLs themselves, but that there was no standardised way to retrieve them from themes meaning each one had to be customised. Well I was pleasantly surprised to find that as of WordPress 3 there is now a set of functions for handling short URLs and they are even displayed within the admin area! Continue reading »
Using WordPress as an Admin for non-WordPress data
Okay, this one kind of surprised me. Apparently, the vast majority of developers never realised just how easy it is to use the WordPress admin to administer data that is held in non-WordPress tables. For example, I store all of my Xbox friends and games in a bunch of tables that live next to the default WordPress ones (such as wp_posts etc). Within the WordPress admin I then have additional menu tabs to add, edit and delete all of these. And by using WordPress you get a lot of stuff for free. Continue reading »
From Kohana to WordPress, a Plugins Story Part I
The last version of this website, currently still up at HybridLogic as of writing, was built on top of the Kohana framework. Unfortunately what you make up for in power you lose in the ability to just get stuff done. Seriously, don’t underestimate the power of having a blog ready to post in. Anyway, getting back on track, I decided to move over some of my Kohana-specific libraries to WordPress today. This is the tale of what happened. Continue reading »
Setting up PHP-FPM and Nginx on Linode
Nginx is designed for very efficient serving of static files. This means that trying to use a dynamic scripting language such as PHP requires a bit of extra work compared to say an Apache installation. This post documents how I’ve set up my Linode with Nginx and PHP using the PHP-FPM extension. Continue reading »
Linode, Nginx and WordPress, Sitting In A Tree
Last weekend, spurred on by a geeky Saturday spent revising Computer Science with @Rice, I decided to take the plunge and set-up a VPS with Linode. It’s been a fun and interesting experience and one I thought would be worth sharing. Continue reading »