have_posts()) : $tux_query->the_post(); ?>
>
'alignleft')); ?>
'post',
'post_status' => 'publish',
'showposts' => 3,
'caller_get_posts' => 1,
'orderby' => 'date',
'category_name' => esc_attr($options['adsoft_frontpage_category_one'])
);
$tux_category_query = new WP_Query($query_arguments);
?>
'') : ?>
have_posts()) : while ($tux_category_query->have_posts()) : $tux_category_query->the_post(); $i++;
adsoft_display_category_loop($i);
endwhile;
echo '
';
endif; ?>
>
'post',
'post_status' => 'publish',
'showposts' => 3,
'caller_get_posts' => 1,
'orderby' => 'date',
'category_name' => esc_attr($category)
);
$tux_category_query = new WP_Query($query_arguments);
$i = 0;
?>
%s', 'adsoft_language' ), get_category_by_slug(esc_attr($category))->cat_name); ?>
have_posts()) : while ($tux_category_query->have_posts()) : $tux_category_query->the_post(); $i++;
adsoft_display_category_loop($i);
endwhile;
echo '
';
endif; ?>
'post',
'post_status' => 'publish',
'showposts' => 8,
'caller_get_posts' => 1,
'orderby' => 'date',
'category_name' => esc_attr($options['adsoft_frontpage_scrolling_area_category'])
);
$tux_category_query = new WP_Query($query_arguments);
?>
'') : ?>
have_posts()) : ?>
'post',
'post_status' => 'publish',
'showposts' => 3,
'caller_get_posts' => 1,
'orderby' => 'date',
'category_name' => esc_attr($options['adsoft_frontpage_category_three'])
);
$tux_first_category_query = new WP_Query($query_arguments);
// Get second category posts
if(isset($options['adsoft_frontpage_category_four']) and $options['adsoft_frontpage_category_four'] != '0') :
$query_arguments = array(
'post_type' => 'post',
'post_status' => 'publish',
'showposts' => 3,
'caller_get_posts' => 1,
'orderby' => 'date',
'category_name' => esc_attr($options['adsoft_frontpage_category_four'])
);
$tux_second_category_query = new WP_Query($query_arguments);
$i = 0; $j = 0;
endif;
?>
%s', 'adsoft_language' ), get_category_by_slug(esc_attr($options['adsoft_frontpage_category_three']))->cat_name); ?>
have_posts()) : while ($tux_first_category_query->have_posts()) : $tux_first_category_query->the_post(); $i++;
adsoft_display_category_loop($i);
endwhile;
echo '';
endif; ?>
'post',
'post_status' => 'publish',
'showposts' => 3,
'caller_get_posts' => 1,
'orderby' => 'date',
'category_name' => esc_attr($options['adsoft_frontpage_category_four'])
);
$tux_second_category_query = new WP_Query($query_arguments);
$i = 0; $j = 0;
?>
have_posts()) : $tux_slider_query->the_post(); ?>
'publish',
'ignore_sticky_posts' => true,
'posts_per_page' => $ticker_limit,
'orderby' => $ticker_content,
'order' => 'DESC',
'category_name' => $ticker_category
);
$tux_ticker_query = new WP_Query($query_arguments);
// Limit the number of words in slideshow post excerpts
if ($tux_ticker_query->have_posts()) : ?>
have_posts()) :
while ($tux_frontpage_posts_query->have_posts()) : $tux_frontpage_posts_query->the_post();
get_template_part( 'loop', 'frontpage' );
endwhile;
?>
ID);
if ($categories) :
$category_ids = array();
foreach($categories as $individual_category) $category_ids[] = $individual_category->term_id;
endif;
$args=array(
'post_status' => 'publish',
'ignore_sticky_posts' => true,
'category__in' => $category_ids,
'post__not_in' => array($post->ID),
'showposts'=>10,
'caller_get_posts'=>1);
$single_query = new wp_query($args);
?>
have_posts()) : ?>