Add filter to search results function to only show posts (not pages)