Request: Events list
-
I was thinking about using TablePress to display a simple “calendar” or rather an “events list”. I know there are other plugins, which can do that but they are too comprehensive, I would really prefer a simple solution.
In general it would be doable with TablePress, I can enter the date for example as “yyyy-mm-dd” and sort it that way (or enforce sorting with extension “Table Row Order”)
The only problem is of course, that ALL dates are displayed in the output, you need to delete past events manually, you can’t set a (variable) date-range for the frontend. For example: Show only dates starting from today, so that events from the past are not displayed. Or in the backend: Delete all rows before a certain date to clean up the table.
So basically what is needed:
1) Designate a column as containing dates (either in the backend table editor or via shortcode, like “date_column=A”)
2) Use a setting in backend or even better a shortcode to regulate the output, for example “startdate=-3” to show dates starting three days before today and “enddate=21” to display the next 21 days.
3) Optional: Have a function in the backend like “Delete events before yyyy-mm-dd” to clean up the table.
I think people (including me) would pay money for such a simple, yet effective solution.
- The topic ‘Request: Events list’ is closed to new replies.