<div id="myslides">
<?php $query = new WP_Query(array('post_type' ?> 'homepage' , 'categories' => 'slider'));
while($query->have_posts()) : $query->the_post();
$text_pos = get_post_meta($post->ID, 'dbt_postext', true);
?>
<!-- Slide 1 -->
<?php if(has_post_thumbnail()){ image,
<div class="slide" style="background: url(<?php echo thumb_url(); ?>) no-repeat;">
<?php } else{ ?>
<div class="slide first">
<?php }?>
<div style="top: <?php echo $text_pos . 'px'; ?>" class="text">
<h2><?php the_title();?></h2>
<p><?php the_content(); ?></p>
</div><!-- end of text -->
</div>
<?php endwhile; ?>
</div><!-- end of myslides -->
Guys here the metabox query $text_pos = get_post_meta($post->ID, ‘dbt_postext’, true); which has and meta key of dbt_postext and i am facing the problem that there is one meta box which is basically for changing the text position of the slider according to the user inputted value..For eg if user passes 40 then the values go to here but i want that if user creates the 3 post for slider and pass 3 meta value at a time then how to add that 3 meta value to 3 post differently please help ??
no one :’(
help man 
