How can I only show the nodes that are greater or equal to the selected date from expose filter on views?

I'd like to have a dropdown/expose filter which allows me to select the nodes that their post dates are greater or equal to (past week, past month, past six month)

1 Answer 1


In Views, add a filter of Node: Post date. You should see something like the image below (without example values changed):

enter image description here

Click Expose to have the filter exposed to your users, choose the operator Is greater than or equal to and choose how you want to filter the results (by inserting a date to be greater than or equal to or entering a value of "-6 months", etc). This won't present a dropdown, but it will certainly add the filter you need for your view.

  • Thank you very much for your comment, but how can I have more than one item as a dropdown menu instead of a textfield so I can limit the selection?
    – Luca
    Sep 28, 2011 at 21:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.