October 07, 2003

Categorization

How do I add categories to my template? That is, I want each post to say what category that post belongs to. Like:

Title

Body

Permalink | Date Posted | Author | Category

Thanks!

Posted by Jim at October 7, 2003 07:35 PM
Comments
#1

Jim, read this

Posted by Susie at October 7, 2003 07:49 PM
#2

Aha! I had the middle but not the wrapper. Thanks, Susie!

Posted by Jim at October 7, 2003 07:51 PM
#3

da nada

Posted by Susie at October 7, 2003 07:53 PM
#4

That's all well and good...but where do you put that code?

Posted by Jennifer at October 7, 2003 09:42 PM
#5

Where ever you want the category to show up. I have mine as part of the title.

Posted by Tiger at October 8, 2003 02:55 AM
#6

Ummm, k. In your main template?

Posted by Jennifer at October 8, 2003 06:09 AM
#7

Yup, in the main template. Specifically inside the div class = blog section. If you want it underneath the title like mine then you'd put it in like this:










">


(Category:

">

)




blah, blah, blah

Posted by Jim at October 8, 2003 09:41 AM
#8

Well that worked remarkably poorly. I'll send it to you in email, Jennifer.

Posted by Jim at October 8, 2003 09:42 AM
#9

LOL, nice try. :) I figured it out, but thanks, Jim.

Posted by Jennifer at October 8, 2003 01:47 PM
#10

Eek, I never followed up with you. I got it working on Sunday - categories listed and a link to the appropriate category in each post.

hln

Posted by hln at October 8, 2003 02:28 PM
#11

No prob, Heather. All set now. :)

Posted by Jim at October 8, 2003 03:12 PM
Live Comment Preview
Post a comment









Remember personal info?