Skip to content

Instantly share code, notes, and snippets.

@jasoncarrigan
Created September 18, 2013 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasoncarrigan/6613763 to your computer and use it in GitHub Desktop.
Save jasoncarrigan/6613763 to your computer and use it in GitHub Desktop.
subject field
<div class="editfield">
<label for="subject"><?php _e( 'Subject', $this->text_domain ); ?> (<?php _e( 'required', $this->text_domain ); ?>)</label>
<input type="text" id="subject" name ="subject" value="<?php echo ( isset( $_POST['subject'] ) ) ? $_POST['subject'] : ''; ?>" />
<p class="description"><?php _e( 'Subject (required)', $this->text_domain ); ?></p>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment