Implementing where clauses for pulling out of all posts