Category: Tutorials

  • Javascript and WordPress – The Definitive Guide

    Using custom JavaScript code in a WordPress theme or plugin is, in many cases, a given. Fortunately, WordPress comes bundled with a selection of popular Javascript libraries (jQuery, Prototype and others) for use with your plugins and themes. Many users, however, simply write the `<script>` tags in the header.php file of their theme or as […]

  • A few guidelines for WordPress plugin development

    The WordPress plugin API is vast and powerful. It allows developers to essentially hook code into almost any area of the WordPress system without modifying the core files at all. It also allows for the creation of standalone plugins that work within the WordPress system but do not hook into the core modules. Over the […]

  • Getting the information of a root page in WordPress

    Often, when using WordPress as a content management or blogging tool on a website, one uses a multi-level page structure. This entails a page being listed “underneath” another page in a tree structure. Usually, if your WordPress installation’s permalinks deviate from the default setting, your page URL structure will look something like this: http://websiteurl.com/parentpageslug/subpageslug (Note: […]

  • WordPress Shortcodes… in short

    In the spirit of the topic, I’ll keep this post short and sweet. Today I’ll be discussing WordPress’s shortcode API and how to utilise it. WordPress shortcodes are codes (eg: [list_bookmarks]) which can be typed into the content area of a page or post in order to provide functionality of some kind. Shortcodes can be […]

  • HOW TO: Use your mobile phone as a modem for your Mac

    I’ve wanted to try this out for a while now, and it works surprisingly well. In fact, I’m using it to type this post. Anyways, onto the ‘how-to’. What you’ll need is a laptop or desktop Mac (I’m on a Macbook) and a mobile phone that supports bluetooth and a 3G connection of sorts (any […]

  • HOW TO: Make a refreshing sorbet

    OK, so summer is definitely coming on strong at the moment. With temperatures in the Cape reaching highs of 34° and up (also showing no signs of cooling down too much), keeping cool and refreshed is becoming more and more difficult. A few months ago, I blogged about websites for “web 2.0 chefs“.  During the research […]

  • HOW TO: Set up a rockstar video blog

    Video blogging (‘vlogging’, for short) is revolutionising the way internet users access information and interact with one another. Watching a 5 minute video clip or tutorial is, for many, easier than reading an article that could easily span two or three printed pages. The average internet user can now, with a few clicks and an […]

  • HOW TO: Track the sports score using Twitter

    Here’s an interesting paradox. Sports (lively, active, outdoor, sweaty) and Twitter (prodominantly indoor, digital, non-verbal, ‘geeky’). Who ever thought that ‘geeks’ liked sport? It seems that many do. Since the cricket started a few weeks ago, I’ve seen streams of tweets coming in from avid cricket fans, commentating on virtually every play and sharing their […]