Forums

Show New Posts? (4 posts)

  1. smootie
    Member
    Posted 3 years ago #

    Hi there. I've searched around but can't seem to find anything regarding this so I thought I'd ask here.

    What I'd like to do is have a little text or image that says "new" beside categories that have had a new post posted in them in say the last week. Is something like this possible?

  2. stvwlf
    Member
    Posted 3 years ago #

    First, where are these category displays located? beneath each post? - the list for that one post

    In the sidebar - list of all categories?

  3. smootie
    Member
    Posted 3 years ago #

    On the sidebar.

  4. stvwlf
    Member
    Posted 3 years ago #

    Hi

    Yes, it can be done but it would require custom code. You have to select all posts published in the last week, recording their categories. Then create a sidebar list of categories, adding a class to those found in the "selected posts" lookup. When displayed, the CSS adds an image next to the ones in the "new" class. Unfortunately I don't have time to work that out for you right now, sorry. Sounds useful.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.