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";
My name is Luís Alves, I'm 36 years old and I'm the Creative Director at 







Leave a Reply