Archive for August, 2006

How to find your flickr user id

Simply visit http://idgettr.com/

Technorati Tags:

BarCamp Johannesburg

See you there!

Technorati Tags: , ,

Using Firefox as an html editor

Here’s a tip courtesy of Lorelle:

Get and install the two free add-on Extensions for Firefox: Edit CSS and Web Development Tools.

Technorati Tags:

Using Wordpress as a CMS

I wanted to define a custom home page on a Wordpress site, then link to the actual blog itself. A bit of a mission, but this helped:

http://codex.wordpress.org/Pages#Using_a_Page_as_the_Front_Page

I created a page called “Home” which had my home info on it.

Using the Static Front Page Plugin, it is possible to set any Page as the “front page” of your site. The plugin modifies the home page query and sticks the Page with a Page slug of “home” to the front page.

I then created blog.php in my theme folder, with the following content:

<?php
/*
Template Name: Blog
*/
?>

<?php query_posts(‘cat=-0′); //gets all posts
load_template( TEMPLATEPATH . ‘/index.php’); //loads index
?>

Now, log into Wordpress and create a page named “Blog” with template “blog”. Also updated my permalinks to begin with “blog” like so:

“/blog/%year%/%monthnum%/%postname%/”.

Wordpress is a bit more powerful than I thought!

Technorati Tags: , ,