Example #1
0
/**
 * Called before the featured post (#1) in the index page
 * @since 1.4.3
 */
function arras_above_index_featured_post()
{
    arras_above_index_featured1_post();
}
Example #2
0
?>
">
<?php 
arras_above_content();
// if the Slideshow is active it is loaded here
?>

<?php 
if (!$paged) {
    ?>

	<?php 
    if (false !== arras_get_option('enable_featured1')) {
        ?>
	<?php 
        arras_above_index_featured1_post();
        ?>
	<!-- Featured Articles #1 -->

	<div id="index-featured1" class="section group">
	<?php 
        if (arras_get_option('featured1_title') != '') {
            ?>
		<h2 class="home-title"><?php 
            _e(arras_get_option('featured1_title'), 'arras');
            ?>
</h2>
	<?php 
        }
        arras_featured_loop(arras_get_option('featured1_display'), apply_filters('arras_featured1_query', array('list' => $featured1_cat, 'taxonomy' => arras_get_option('featured1_tax'), 'query' => array('posts_per_page' => $featured1_count, 'exclude' => $post_blacklist, 'ignore_sticky_posts' => true, 'post_type' => arras_get_option('featured1_posttype')))));
        ?>