Archive for August, 2006
August 18, 2006
BarCamp Johannesburg
August 8, 2006
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: firefox
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: customised, front page, wordpress
Comments(1)
Roger Saner is a web platform developer (using 
