Skip to content

Instantly share code, notes, and snippets.

@yousufansa
Created December 7, 2018 06:22
Show Gist options
  • Save yousufansa/b3bbda2c8eddda5dda6a32d62514fdb3 to your computer and use it in GitHub Desktop.
Save yousufansa/b3bbda2c8eddda5dda6a32d62514fdb3 to your computer and use it in GitHub Desktop.
Jobhunt - Register Form Add Terms and Condition Checkbox
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' );
@yousufansa
Copy link
Author

Please replace I accept your <a href="#">Terms and Conditions</a> with your term text and link in above custom code .

@wemakefuture
Copy link

Thanks Amazing Support!

@wemakefuture
Copy link

wemakefuture commented Mar 13, 2020

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