• itried to write a code to get the value of the custon key “sofar” in the category id 3 but it dosent seem to work can anybody tell me where i went wrong?

    <? $stry = new WP_Query();
      $stry-> query('cat=3&showpost=1');
      while($stry->have_posts()) : $stry->the_post();
      get_post_custom_values('sofar');?>
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘custom value for the most recent post’ is closed to new replies.