<p>You can add <code>status(null)</code> in your ElementQuery in order to fetch all items or you add <code>status(['pending', 'enabled'])</code> to pull all entries, that are not disabled and not expired</p>

CC BY-SA 4.0
2018-06-04T15:01:26.863Z
That works but when you click to view the actual entry you get a 404 error?
James Greig
CC BY-SA 4.0
2018-06-04T15:10:24.173Z
You have to either create a custom route or set their postDate to a valid value - because that's the indented way how the postDate works. Do you want to set the postDate for all entries in a section to now?
Robin Schambach
CC BY-SA 4.0
2018-06-04T15:00:03.750Z
2018-06-04T15:00:03.750Z
Robin Schambach
<p>Is it possible to override/disregard the postDate for all entries in a section so that they are visible on the frontend even if this date is in the future?</p>

<p>I realise I could add a dedicated date field — but keen to avoid this if possible as the fields for this entry are already quite complicated!</p>

<frontend><postdate>
Override the postDate for entries so their URL works on the frontend?
# Override the postDate for entries so their URL works on the frontend?

(Asked by: username_0 on 2018-06-04)

Is it possible to override/disregard the postDate for all entries in a section so that they are visible on the frontend even if this date is in the future?

I realise I could add a dedicated date field — but keen to avoid this if possible as the fields for this entry are already quite complicated!

**Tags:** frontend, postdate


---

## 1 answers

### Answer by username_1 on 2018-06-04. Score: 1

You can add `status(null)` in your ElementQuery in order to fetch all items or you add `status(['pending', 'enabled'])` to pull all entries, that are not disabled and not expired

> **Comments:**
> **username_0**: That works but when you click to view the actual entry you get a 404 error?  
> **username_1**: You have to either create a custom route or set their postDate to a valid value - because that's the indented way how the postDate works. Do you want to set the postDate for all entries in a section to now?  

---

