Add condition to display location or not in posts.