(int) hybrid_get_setting( 'featured_posts' ), 'post_status' => 'publish', 'no_found_rows' => true, 'tax_query' => array( array( 'taxonomy' => 'post_format', 'field' => 'slug', 'terms' => array( 'post-format-aside', 'post-format-audio', 'post-format-chat', 'post-format-quote', 'post-format-status' ), 'operator' => 'NOT IN' ) ) ); /** * Select posts from the selected categories * or use Sticky Posts */ if ( hybrid_get_setting( 'featured_category' ) ) { $feature_query['cat'] = hybrid_get_setting( 'featured_category' ); $feature_query['ignore_sticky_posts'] = 1; } else { $feature_query['post__in'] = get_option( 'sticky_posts' ); } /* Fire the query. */ $loop = new WP_Query( apply_filters( 'cakifo_slider_query', $feature_query ) ); // Filter the query with the `cakifo_slider_query` filter ?> have_posts() ) : ?>

have_posts() ) : $loop->the_post(); ?>
'slider', 'image_class' => 'thumbnail', 'attachment' => false, 'meta_key' => null, 'echo' => false ) ); // There's an image thumbnail. if ( $thumbnail ) : echo $thumbnail; // Try to embed a video from the post content. elseif ( has_post_format( 'video' ) && current_theme_supports( 'hybrid-core-media-grabber' ) ) : $thumbnail_size = cakifo_get_image_size( 'slider' ); echo hybrid_media_grabber( array( 'type' => 'video', 'width' => $thumbnail_size['width'], 'before' => '
', 'after' => '
' ) ); endif; endif; ?>
→', 'cakifo' ); ?>