Advertisement
dangrgal

events_custom-post_type_date

Aug 9th, 2011
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. function events_meta() {
  2. global $post;
  3. $custom = get_post_custom($post->ID);
  4. $when = $custom["when"][0];
  5. $what_time_start = $custom["what_time_start"][0];
  6. $what_time_end = $custom["what_time_end"][0];
  7. $where = $custom["where"][0];
  8. ?>
  9. <p><label>When:</label><br />
  10. <textarea cols="30" rows="1" name="when"><?php echo $when; ?></textarea></p>
  11. <p><label>What Time Start:</label><br />
  12. <textarea cols="30" rows="1" name="what_time_start"><?php echo $what_time_start; ?></textarea></p>
  13. <p><label>What Time End:</label><br />
  14. <textarea cols="30" rows="1" name="what_time_end"><?php echo $what_time_end; ?></textarea></p>
  15. <p><label>Where:</label><br />
  16. <textarea cols="30" rows="1" name="where"><?php echo $where; ?></textarea></p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement