single.php
-------
○カスタム投稿タイプ、キー、値出力
<table>
<?php $mydata = get_post_custom();
foreach($mydata as $key => $value) : ?>
<?php if(!is_protected_meta($key)): ?>
<tr>
<th><?php echo $key; ?></th>
<td><?php echo $value[0]; ?></td>
</tr>
<?php endif; ?>
<?php endforeach; ?>
</table>