'page', 'post_status' => 'publish', 'posts_per_page' => -1, 'post__in' => $featured_pages, 'orderby' => 'post__in' ); $qry = new WP_Query( $args ); if( $qry->have_posts() ){ ?>
have_posts() ){ $qry->the_post(); ?> ' ); ?>
'; if( has_post_thumbnail() ){ $image_size = is_sticky() ? 'blossom-feminine-featured' : 'blossom-feminine-blog'; the_post_thumbnail( $image_size ); }else{ $image_size = is_sticky() ? '/images/no-img_1410_600.png' : '/images/no-img_435_435.png'; echo '' . esc_attr( get_the_title() ) . ''; } echo '
'; }elseif( is_archive() || is_search() ){ echo ''; if( has_post_thumbnail() ){ the_post_thumbnail( 'blossom-feminine-cat' ); }else{ echo '' . esc_attr( get_the_title() ) . ''; } echo ''; }elseif( is_singular() ){ echo '
'; if( is_single() ){ if( $ed_featured ) the_post_thumbnail( 'blossom-feminine-featured' ); }else{ the_post_thumbnail( 'blossom-feminine-featured' ); } echo '
'; } } endif; add_action( 'blossom_feminine_before_entry_content', 'blossom_feminine_post_thumbnail' ); if( ! function_exists( 'blossom_feminine_entry_header' ) ) : /** * Entry Header */ function blossom_feminine_entry_header(){ ?>
'; if( is_single() ){ if( ! $ed_cat_single ) blossom_feminine_categories(); }else{ blossom_feminine_categories(); } /** * Social sharing in archive. */ if( is_archive() ) do_action( 'blossom_feminine_social_sharing' ); if( is_archive() || ( is_search() && ( 'post' === get_post_type() ) ) ) echo '