Added if statement to hide info on posts page