Forums Forums Search & Filter Pro Yearly Archive Filter

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #249394

    On first load I would like to have the most recent posts, but then have a filter, ideally radio buttons of the years the posts cover.

    In other words I would like a list of years in radio buttons in the Search Form UI.

    Achievable?

    Trevor
    #249412

    Only if you have a custom field with the year of each post. Our plugin cannot (currently) extract the Year from the Post Date (or any other date field). Going forward, you could autopopulate that field with the year with some custom code* in the child theme functions.php file.

    I think what you want WILL become possible in V3 of our plugin (but that is still many weeks away).

    * You can see an example of such code here:

    https://support.searchandfilter.com/forums/topic/datefilter/page/2/#post-238609

    Anonymous
    #250772

    Thanks Trevor.

    And sorry for the late reply.
    I didn’t get an email saying you had replied.

    I was thinking that might be what I need to do.
    Thanks also for the link to the code example, that is a great help.

    May I say, you are a quality developer my friend, I really appreciate the speed at which you reply and the fact that you are always so helpful and knowledgeable.

    Hence why the Search Filter Pro plugin is such a great plugin.

    Thank you..!!!!!!!!

    Trevor
    #250775

    Thanks for getting back to me. I will close this thread for now.

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