Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #13553

    I’m trying to list posts in a per-year archive listing in the Coherence theme using the %year% parameter in permalinks.

    Example, view these pages:

    This isn’t working:

    http://64.49.225.187/press-releases/2012

    This is what I want:

    http://www.ccpu.com/in-the-news/2011

    http://www.ccpu.com/in-the-news/2010

    Does anyone know which Coherence PHP file and what code snippet(s) I’d need to modify to enable year-based archive listing of posts in the Coherence theme?

    Thank you.

    #79676

    Hi bradpennock,

    I think you might actually need to use:

    /%year%/%monthnum%/%postname%/

    Regards,

    Devin

    #79677

    My permalink structure is /%category%/%year%/%postname%/

    So I think that is set up correctly.

    What isn’t working is when I remove the post name part of the URL to expose just the URL/category/year/ the Coherence theme isn’t showing a nice listing of posts for that year. It shows an error, like on this page: http://64.49.225.187/press-releases/2012

    Whereas I CAN see a nice listing of posts for each year on another web site I developed, like on this other web site: http://www.ccpu.com/in-the-news/2010

    What I am looking for is if the Coherence theme CAN support year-based listings of posts in the way I have described… and if so, what code would I need to add to which PHP pages to make it work?

    #79678

    Ah, thank you… I just found that Coherence does let me view year-based listings of posts via the Domain/Year/Month/Postname permalink structure… instead of the Domain/Category/Year/Postname structure I was hoping for.

    While this is not exactly what I wanted, it is close enough.

    Thank you, Devin.

    #79679

    Hey,

    Sometimes you need to redo the steps when changing permalinks to make it work.

    Regards,

    Ismael

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Year-based archive listing in Coherence theme?’ is closed to new replies.