LearnDash Custom Registration Form

Image for post
Image for post

Step 1:

Image for post
Image for post
Image for post
Image for post

Step 2:

Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post

Step 3:

Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
[user_registration_form id=”24776"]

Step 4:

Image for post
Image for post
http://localhost:8888/yourwebsite/register
Image for post
Image for post

Step 5

/wp-content/plugins/sfwd-lms/themes/ld30/templates/modules/login-modal.php
<?php/* Disable Start Here
if ( '#ld-user-register' === $register_url ) {
$register_button_class = apply_filters( 'learndash_login_model_register_button_class', 'ld-js-register-account' );} else {$register_button_class = apply_filters( 'learndash_login_model_register_button_class', '' );}
*/ Disable End Here
?>
<a href="<?php esc_html_e( $register_url ) ?>" class="ld-button ld-button-reverse <?php echo $register_button_class; ?>"><?php echo esc_html_e( 'Register an Account', 'learndash' ); ?></a>
</br><a target='blank' href="http://localhost:8888/yourwebsite/register" class="button button-primary button-large>"><?php echo esc_html_e( 'Register an Account', 'learndash' ); ?></a>
Image for post
Image for post

LearnDash First name and Last name in the certificate

Image for post
Image for post
Image for post
Image for post

LearnDash Certificate Script

[usermeta field="first_name"] 
[usermeta field="last_name"]

Final Script for Certificate

<p style="text-indent: 285px;"><p style="font-family: 'cooper-i'; line-height: 0px;"><i>[courseinfo show="completed_on" format="j F Y"]</i></p>
<p style="font-family: 'cooper-i'; line-height: 10px;"><i>This certifies that</i></p>
<p style="line-height: 8px;"></p>
<p style="font-family: 'norwester'; line-height: 0px; font-size: 96px;">[usermeta field="first_name"] </p>
<p style="font-family: 'norwester'; line-height: 0px; font-size: 96px;">[usermeta field="last_name"]</p>
<p style="line-height: 4px;"></p>
<p style="font-family: 'cooper-i'; line-height: 0px;"><i>has completed the</i></p>
<p style="line-height: 3px;"></p>
<p style="font-family: 'cooper-i';font-size: 48px; line-height: 0px;"><i><strong>[courseinfo show="course_title"]</strong></i></p>
<p style="line-height: 2px;"></p>
<p style="font-family: 'cooper-i'; line-height: 0px;"><i>online course by</i> <b>Test</b></p>
</p>

Thank you for reading! Happy Coding :)

Written by

We teach & develop for startups

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store