Created
July 4, 2013 02:59
-
-
Save szbl/5924593 to your computer and use it in GitHub Desktop.
Example view from faux MVC WordPress plugin example for CodePoet.com article.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table class="form-table"> | |
<tbody> | |
<tr> | |
<th> | |
<label for="szbl-person-email"> | |
Email Address: | |
</label> | |
</th> | |
<td> | |
<input type="email" id="szbl-person-email" name="szbl_person_email" value="<?php | |
if ( $value = get_post_meta( get_the_ID(), 'szbl_person_email', true ) ) | |
echo esc_attr( $value ); | |
?>"> | |
</td> | |
</tr> | |
</tbody> | |
</table> | |
<?php wp_nonce_field( 'szbl_person_meta_data', 'szbl_person_nonce' ); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment