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 | TrackBack
Comments

Jim, read this

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

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

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

da nada

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

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

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

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

Ummm, k. In your main template?

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

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

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

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

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

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

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

No prob, Heather. All set now. :)

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









Remember personal info?