• Resolved Yakti-R

    (@yakti-ruud)


    Thanks for this plugin. It is close to what I need for a project, but it needs some customization.

    I’m looking to display all the months of the current/selected year, with a link to the previous and next year.

    Any idea if this is possible with some slight customizations?

    http://ww.wp.xz.cn/plugins/smarter-archives/

Viewing 1 replies (of 1 total)
  • Plugin Author rob1n

    (@rob1n)

    You could hook into the smart_archives_where filter and add ” AND year = ‘2xxx'” where 2xxx is the year you’re interested in. That would limit it to 1 year.

    Beyond that, it’s just a matter of making navigation links and passing the year to that filter.

Viewing 1 replies (of 1 total)

The topic ‘Display current year months only’ is closed to new replies.