18 | slug; 23 | // if category specific single loop exists, use it, otherwise use default single loop 24 | if (locate_template("loop-$category.php")) 25 | get_template_part('loop', $category); 26 | else { 27 | get_template_part('loop', 'single'); 28 | } 29 | ?> 30 |