meta file update
This commit is contained in:
parent
92ef13964a
commit
17450d98b5
|
@ -764,6 +764,7 @@ function mep_event_ticket_type() {
|
|||
function mep_event_date_meta_box_cb($post){
|
||||
$values = get_post_custom( $post->ID );
|
||||
$more_date = get_post_meta($post->ID, 'mep_event_more_date', true);
|
||||
// print_r($values);
|
||||
?>
|
||||
|
||||
<div class='sec'>
|
||||
|
@ -775,13 +776,13 @@ $more_date = get_post_meta($post->ID, 'mep_event_more_date', true);
|
|||
<div class="sec">
|
||||
<table width="100%" class="mama">
|
||||
<tr >
|
||||
<td><input placeholder="Day 2" type="text" class='event_more_date' name="event_more_date[]" value="<?php echo $more_date[0]['event_more_date']; ?>" /></td>
|
||||
<td><input placeholder="Day 2" type="text" class='event_more_date' name="event_more_date[]" value="<?php if(array_key_exists('mep_event_more_date', $values)){ echo $more_date[0]['event_more_date']; } ?>" /></td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td><input placeholder="Day 3" type="text" class='event_more_date' name="event_more_date[]" value="<?php echo $more_date[1]['event_more_date']; ?>" /></td>
|
||||
<td><input placeholder="Day 3" type="text" class='event_more_date' name="event_more_date[]" value="<?php if(array_key_exists('mep_event_more_date', $values)){ echo $more_date[1]['event_more_date']; } ?>" /></td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td><input placeholder="Day 4" type="text" class='event_more_date' name="event_more_date[]" value="<?php echo $more_date[2]['event_more_date']; ?>" /></td>
|
||||
<td><input placeholder="Day 4" type="text" class='event_more_date' name="event_more_date[]" value="<?php if(array_key_exists('mep_event_more_date', $values)){ echo $more_date[2]['event_more_date']; } ?>" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue