May 2017
Beginner to intermediate
536 pages
14h 25m
English
We need to design a custom form for frontend registration containing the default header and footer. The whole content area will be used for the registration and the default sidebar will be omitted for this screen. Create a PHP file called register-template.php inside the templates folder with the following code:
<?php global $wpwaf_registration_params; if(is_array($wpwaf_registration_params)){ extract($wpwaf_registration_params); } get_header(); ?> <div class='wpwaf-registration-form-header' ><?php echo __('Register New Account','wpwaf'); ?></div> <div id='wpwaf-registration-errors'> <?php if( isset($wpwaf_registration_params['errors']) && count($wpwaf_registration_params['errors']) > 0) { foreach ...Read now
Unlock full access