get_option('sticky_posts'), 'showposts' => arras_get_option('featured2_count') ); elseif ($featured2_cat == '0') $query2 = 'showposts=' . arras_get_option('featured2_count'); else $query2 = 'showposts=' . arras_get_option('featured2_count') . '&cat=' . $featured2_cat; $q2 = new WP_Query( apply_filters('arras_featured2_query', $query2) ); arras_get_posts('featured2', $q2); ?> arras_get_option('news_cat'), 'paged' => $paged, 'showposts' => ( (arras_get_option('index_count') == 0 ? get_option('posts_per_page') : arras_get_option('index_count')) ) ); // if you are a WP plugin freak you can use 'arras_news_query' filter to override the query wp_reset_query(); query_posts(apply_filters('arras_news_query', $news_query)); arras_get_posts('index') ?>