October 16th, 2009 by Luis Alves

Forcing footer to bottom of page with just CSS

This is a brief tutorial to explain how you can force the footer to stay in the bottom of the page with just CSS.
I have tested it in Firefox Mac / PC, Safari Mac / PC,  IE7 and IE8. Does not work for IE6 and bellow.
First – In your CSS you have to set the [...]

October 3rd, 2009 by Luis Alves

How to display link categories description in wordpress sidebar

In wp-includes you’ll find the file bookmark-template.php.This will be done with the tag $cat->description. go to line 227 and change this line:
$output .= “$title_before$catname$title_after\n\t<ul class=’xoxo blogroll’>\n”;
to:
$output .= “$title_before$catname$title_after\n\t<p>$cat->description</p>\n\t<ul class=’xoxo blogroll’>\n”;
You can change the place where the description will appear and the html tag that wraps it, for instance:
$output .= “$title_before$catname$title_after\n\t<ul class=’xoxo blogroll’>\n\t<h3>$cat->description</h3>\n”;