Created
November 13, 2015 01:18
-
-
Save JulioPotier/a64ddcd716e1d3cd45e1 to your computer and use it in GitHub Desktop.
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
<?php | |
add_action( 'category_add_form_fields', 'baw_new_term_color_field' ); | |
function baw_new_term_color_field() { | |
wp_nonce_field( 'add_term_meta_color', 'add_term_meta_color_nonce' ); | |
?> | |
<div class="form-field"> | |
<label for="baw_term_color"><?php _e( 'Front Color', 'baw' ); ?></label> | |
<input type="text" name="baw_term_color" id="baw_term_color" data-default-color="#ffffff" /> | |
</div> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment