April 20, 2007
Categories - Part 2
Comments are disabled.
Post is locked.
So you've come up with some categories to organize your writing, now lets do something with the idea.
In your sidebar template, paste the following snippet:
<h2>Categories</h2>
<ul>
[categories]
<li><a href="/[category.path]">[category.name]</a></li>
[/categories]
</ul>
Save the template, and then go check out your page. You should see a list on your sidebar showing each of your categories. Even better, you can click on the category names and all the posts under that category will be displayed. If you add categories in the future, they'll automatically be included too.
Posted by: RocketJones at
04:29 PM under Presentation
| No Comments
| Add Comment
Post contains 89 words, total size 1 kb.
4kb generated in CPU 0.0048, elapsed 0.0183 seconds.
21 queries taking 0.0151 seconds, 22 records returned.
Powered by Minx 1.1.6c-pink.
21 queries taking 0.0151 seconds, 22 records returned.
Powered by Minx 1.1.6c-pink.