ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

displaying specific categories

October 15, 2011 5:07pm

Subscribe [2]
  • #1 / Oct 15, 2011 5:07pm

    bsullan

    6 posts

    I posted this in the Community area but no one responded, maybe because the answer is so obvious, but am posting here to see if I can get answered. Thanks.

    All I want to do is display the specific categories assigned to a blog entry, at the end of the entry. So, I create a new entry and at the end of it I want to display “Filed under:” and then list the categories that were assigned when I created the entry. All I can figure out so far is how to display all the entries created for the channel, not just the ones that were assigned to a particular entry.

  • #2 / Oct 16, 2011 7:47am

    Sue Crocker

    26054 posts

    Hi, bsullan.

    It’s pretty easy to do.

    See this page in the EE Docs

    Does that help?

  • #3 / Oct 16, 2011 2:16pm

    bsullan

    6 posts

    Got it, thanks. The first set of code under the Categories section (shown below) was what I needed. I looked through this section before but didn’t make the connection. I was looping on something else, not the category tag itself.

    {categories}
          {category_image}
          {category_name}
    {/categories}

  • #4 / Oct 16, 2011 5:11pm

    Sue Crocker

    26054 posts

    No worries, glad you were able to figure it out. Feel free to start a new thread if you have any more questions.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases