Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Is it possible to make custom fields at the top, when writing a new post in admin panel ?

Thank you.

share|improve this question
    
Top of the edit screen? –  Bainternet Jan 14 '13 at 14:55
    
Yes above title input. –  user1139767 Jan 14 '13 at 14:58
add comment

1 Answer

up vote 0 down vote accepted
function wpse81499_move_postcustom_to_top()
{
    if( 'post' != get_current_screen()->id )
        return;
    ?>
<script>
    jQuery(document).ready(function(){
        jQuery('#postcustom').prependTo('#titlediv');
    });
</script>
    <?php
}
add_action( 'admin_footer', 'wpse81499_move_postcustom_to_top' );
share|improve this answer
    
It Works! Thank you very much! –  user1139767 Jan 14 '13 at 16:22
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.