get_option('slide_image'.$i))){ $imgArr[] = $i; } } require get_template_directory() . '/frontpage/slider.php'; ?>