Custom post_type search pages
How are you restricting the search to your custom post type? If you are doing it by passing an additional argument, i.e. &type=myCustomPostType, you could use a conditional test, like: if(isset($_GET[‘type’] && $_GET[‘type’] == ‘myCustomPostType’)): get_template_part(‘loop’,’youtube’); else: get_template_part(loop); endif;