Hi Donncha

The code is:

wp_nonce_field( ‘new-post’ );

Also, how do I set wp_nonce_field to have a shorter expiration time?