Created
December 7, 2018 06:22
-
-
Save yousufansa/b3bbda2c8eddda5dda6a32d62514fdb3 to your computer and use it in GitHub Desktop.
Jobhunt - Register Form Add Terms and Condition Checkbox
This file contains hidden or 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
if( ! function_exists( 'jh_child_registration_form_fields_after_terms_conditions' ) ) { | |
function jh_child_registration_form_fields_after_terms_conditions() { | |
?> | |
<p style="margin-bottom:1em;"> | |
<label for="jobhunt_register_term_conditions"> | |
<input name="jobhunt_term_conditions" id="jobhunt_register_term_conditions" required class="required" type="checkbox"/> | |
<span style="margin-left:5px;"><?php wp_kses_post( _e( 'I accept your <a href="#">Terms and Conditions</a>', 'jobhunt' ) ); ?></span> | |
</label> | |
</p> | |
<?php | |
} | |
} | |
add_action( 'jobhunt_registration_form_fields_after', 'jh_child_registration_form_fields_after_terms_conditions' ); |
Thanks Amazing Support!
Thanks Amazing Support. Send me please your private Email. I might have some jobs! [email protected]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please replace
I accept your <a href="#">Terms and Conditions</a>
with your term text and link in above custom code .