Kod:
<?php
if ($featured2_cat == '-5') $query2 = array('post__in' => 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);
?>