On the website with the wordpress engine and the Theme My Logi n plugin installed, I want to add the following fields to the registration template to the existing fields (login, password, e-mail) (Last Name, First Name, Mobile Phone, gender), but the problem is that these fields in the database does not save .. How to add them correctly?
<p><input type="text" name="user_login" id="user_login<?php $template->the_instance(); ?>" value="<?php $template->the_posted_value( 'user_login' ); ?>" class="regular-text" /></p> <p><label for="last_name<?php $template->the_instance(); ?>">Π€Π°ΠΌΠΈΠ»ΠΈΡ:<span class="necessarily">*</span></label><input type="text" name="last_name" id="last_name<?php $template->the_instance(); ?>" class="regular-text" value="<?php $template->the_posted_value( 'last_name' ); ?>" /></p> <p><label for="first_name<?php $template->the_instance(); ?>">ΠΠΌΡ:<span class="necessarily">*</span></label><input type="text" name="first_name" id="first_name<?php $template->the_instance(); ?>" class="regular-text" value="<?php $template->the_posted_value( 'first_name' ); ?>" /></p> <?php $show_password_fields = apply_filters( 'show_password_fields', true, $profileuser ); if ( $show_password_fields ) : ?> <div id="password"> <p><label for="pass1">ΠΠ°ΡΠΎΠ»Ρ:<span class="necessarily">*</span></label><input type="password" name="pass1" id="pass1" size="16" autocomplete="off" /></p> <p><label for="pass2">ΠΠΎΠ²ΡΠΎΡΠΈΡΡ ΠΏΠ°ΡΠΎΠ»Ρ:<span class="necessarily">*</span></label><input type="password" name="pass2" id="pass2" size="16" autocomplete="off" /></p> </div> <?php endif; ?> <p><label for="user_email">E-mail:<span class="necessarily">*</span></label><input type="email" name="user_email" id="user_email<?php $template->the_instance(); ?>" value="<?php $template->the_posted_value( 'user_email' ); ?>" class="regular-text" /></p> <p><label for="user_tel">ΠΠΎΠ±ΠΈΠ»ΡΠ½ΡΠΉ ΡΠ΅Π»Π΅ΡΠΎΠ½:<span class="necessarily">*</span></label><input type="tel" name="tel_number" pattern=".{7,}" id="tel_number<?php $template->the_instance(); ?>" value="<?php $template->the_posted_value( 'tel_number' ); ?>" class="regular-text" size="20" /></p> <p class="form-row form-row-last"> <label for="user_gender">ΠΠΎΠ»:</label> <input type="radio" name="gender" value="ΠΌΡΠΆΡΠΊΠΎΠΉ" <?php checked('ΠΌΡΠΆΡΠΊΠΎΠΉ', get_user_meta($profileuser->ID, 'gender', true)); ?>>ΠΌΡΠΆΡΠΊΠΎΠΉ <input type="radio" name="gender" value="ΠΆΠ΅Π½ΡΠΊΠΈΠΉ" <?php checked('ΠΆΠ΅Π½ΡΠΊΠΈΠΉ', get_user_meta($profileuser->ID, 'gender', true)); ?>>ΠΆΠ΅Π½ΡΠΊΠΈΠΉ </p>