WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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. – andys Jan 14 '13 at 14:58
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! – andys Jan 14 '13 at 16:22

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.