diplay featured value inside loop
-
How can i get the value of featured post inside the loop?
I need that for showing an image near featured post.query_posts(‘post_type=work&posts_per_page=-1’);
if (have_posts()) : while (have_posts()) : the_post();
$is_featured = get_post_meta( $post->ID, ‘_is_featured’ ,true);// ?? this return a empty first vaule / array
what’s wrong?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘diplay featured value inside loop’ is closed to new replies.