I need to show posts at the end of the post view. Those posts that we can call “related posts” MUST BE older than the actual post that the user is reading.
I wanted to implement this via
where, but how I can tell the where to filter all the posts via time?
I was thinking something like where $post is less or equal than the $date ($post are all the pages of website, and $date is the actual publication date of the post).