conditional sentences for case study or story in loop.single.php