luminae
Member
Posted 5 years ago #
This might seem like a silly question, but how do you insert the category it belongs to for each post? I've done this before in older versions, but I can't remember how to do it in this one. And when I use <?php the_category() ?>, it inserts the name of the category in a list tag with a link to the category page. I don't mind it linking to the category page, but is there a way to take it out of the LI tags?
timothyb
Member
Posted 4 years ago #
Yes, Actually I'd like to know this too. How do I get rid of the
attributes so the categories the particular post is placed in aligns in a straight line.
Posted in the <?php the_category() ?> category.
timothyb
Member
Posted 4 years ago #
Whoops, I just answered my own question!! =)
howcomical
Member
Posted 4 years ago #
Mine still shows up as if it were a list and not one line. :\
What version are you using, luminae?
Here is a page with template tag information:
http://codex.wordpress.org/Template_Tags