How to add extra field in admin comment section

You can add it directly through your functions.php, unfortunately this is not documented very well at all. You want to hook into add_comment_meta using add_action, to look at this further refer to line 500-ish of comment.php. It looks like this function add_comment_meta($comment_id, $meta_key, $meta_value, $unique = false) { return add_metadata(‘comment’, $comment_id, $meta_key, $meta_value, $unique); }

How can I sort the order of multiple custom field values in a custom post type?

the function the_meta() formats the data into an unordered list and you have no control over the order. Instead you should use get_post_custom() and echo out only the fields you want and in the order you want. change: <?php echo(the_meta()); ?> to : $post_custom = get_post_custom($post->ID); echo ‘<ul>’; echo ‘<li>’.$post_custom[‘Height’].'</li>’; echo ‘<li>’.$post_custom[‘Fueled_By’].'</li>’; echo ‘<li>’.$post_custom[‘Favorite_Quote’].'</li>’; echo … Read more