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.

Show 1 Post per Category

August 09, 2010 11:47pm

Subscribe [2]
  • #1 / Aug 09, 2010 11:47pm

    Deviant Host

    4 posts

    Hi Guys.

    I have a number of blog categories, now the idea is that when one clicks Blog, the first page only shows one latest post from each category. Selecting the category will then take the user to that category with access to the rest of the articles.

    Any ideas?

    Thanks in advance.

  • #2 / Aug 10, 2010 9:43am

    Boyink!

    5011 posts

    I’d use a channel:entries tag wrapped with a category:archive tag.  Pass the category id from category archive to channel entries, and then use limit=“1” on the channel:entries tag.

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

ExpressionEngine News!

#eecms, #events, #releases