category_count; $no_of_slider = blog_light_get_option('blog_light_no_of_slider'); if ($count > 0 && $no_of_slider > 0) { $i = 0; if (!empty($blog_light_slider_section_cat_id)) { $blog_light_home_slider_section = array('cat' => $blog_light_slider_section_cat_id, 'posts_per_page' => $no_of_slider); $blog_light_home_slider_section_query = new WP_Query($blog_light_home_slider_section); if ($blog_light_home_slider_section_query->have_posts()) { while ($blog_light_home_slider_section_query->have_posts()) { $blog_light_home_slider_section_query->the_post(); ?>
<?php the_title_attribute(); ?>