CMS post scheduling / filter by today's date
Allow filtering CMS items by the current date. This can be used for post scheduling - new posts automatically appear on the website once the date is reached. You can also use it to hide items that have already passed (e.g. for an event calendar that only shows future events).
Another feature of this is that you can redirect the detail pages for items that do not meet the filter to another page. For example you can show a 404 page for items that are scheduled to be visible in the future, in case someone guesses the URL.
Also prevent the page from being indexed by Google (if possible).
Examples: show items that areβ¦
- Before today
- After today
- Today
- Within the last week, month, year, # of days, etc.
- Within the next week, month, year, # of days, etc.
- This week, this month, this year, etc.
- Week to date, month to date, year to date, etc.