Add a custom form on the post-new.php admin page

i need to add a custom form on the post-new0.php page of the admin of wordpress. ( this form will load an external script in ajax and fill all the field) I’m able to do it via my plugin with

add_action('admin_print_scripts-post-new.php', 'my_echo_function');

But it print it at the top of the page, how can i do to print it as i show on the image ? ( just above the title post text area). ny idea ? Thank you.

Read More

EDIT: it can be before or after th wp form this is where i print it right now:

where its printed

illustration

Related posts

1 comment

  1. WordPress 3.7 has an edit_form_top hook that may be what you need.

    add_action('edit_form_top', 'my_echo_function');
    

    Though you will need to write logic to keep it from executing on any but the post-new.php page.

Comments are closed.