Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Custom front-end filter for date range

$
0
0

I'm building a front-end filter for a custom post type that contains data about work done for courses at my University. I want to create a front-end filter that allows users to filter the data based on semester. However, instead of using a custom taxonomy to track semesters, I'd like to just use the publish date associated with the posts. From the users' perspective, I'd like them to be able to choose the semester they want to filter by, but, functionally, I want the filter to search based on a pre-determined date range (that I would hard-code into the View, presumably) that corresponds to the semester.

Basically, I'm wondering if this is even possible and if anyone has some general tips about how I might accomplish it. I'm concerned that this might not be possible, and I don't want to spend a lot of time figuring it out if that's the case!


Viewing all articles
Browse latest Browse all 20145

Trending Articles