سلام
خسته نباشید
من تمامی مراحل رو مو به مو انجام دادم ، اما یک مشکل بزرگ دارم:
هنگامی که دیتاها را در بخش ورود و ثبت نام در پیشخوان وردپرس پر میکنم تنها چک باکسها اوکیه ، یعنی فقط چک باکسهای فعالسازی کار میکنن و در عوض متنی که در قسمت عنوان فرم ورود مینویسم در صفحه ورود یک فاصله دریافت میکنم! در صفحه ثبت نام هم همینطور! (اگه به تصویر ضمیمه دقت کنید متوجه موضوع میشوید) وقتی هم که اینسپکت میگیرم میبینم که اصلا مرور گر تگ <?php موجود در فایل login.php و register.php رو پیدا نمیکنه!! مشکل از کجا است؟؟
کدهای من اینان:
فایل login.php:
<div class="auth-wrapper">
<div class="login-wrapper">
<?php if(isset($wp_auth_options['login_form_title'])) ; ?>
<h2> <?php echo $wp_auth_options['login_form_title']; ?> </h2>
<div class="alert" style="disply:none;"></div>
<form action="" method="post" id="loginform">
<div class="form-row">
<label for="useremail">ایمیل :</label>
<input type="email" name="useremail" id="useremail">
</div>
<div class="form-row">
<label for="userpassword">کلمه عبور :</label>
<input type="password" name="userpassword" id="userpassword">
</div>
<div class="form-row">
<button name="submitlogin">ورود</button>
</div>
</form>
</div>
</div>
فایل register.php:
<div class="auth-wrapper">
<div class="register-wrapper">
<?php if(isset($wp_auth_options['register_form_title'])); ?>
<h2> <?php echo $wp_auth_options['register_form_title'] ?> </h2>
<div class="alert" style="disply:none;"></div>
<form action="" method="post" id="registerform">
<div class="form-row">
<label for="user_first_name">نام :</label>
<input type="text" name="user_first_name" id="user_first_name">
</div>
<div class="form-row">
<label for="user_last_name">نام خانوادگی :</label>
<input type="text" name="user_last_name" id="user_last_name">
</div>
<div class="form-row">
<label for="user_email">ایمیل :</label>
<input type="email" name="user_email" id="user_email">
</div>
<div class="form-row">
<label for="user_password">کلمه عبور :</label>
<input type="password" name="user_password" id="user_password">
</div>
<div class="form-row">
<button name="submitregister">ثبت نام</button>
</div>
</form>
</div>
</div>
فایل settings.php:
<div class="wrap">
<h1>تنظیمات</h1>
</div>
<form method="post">
<table class="form-table">
<tr valign="top">
<th scope="row">فعال بودن ورود</th>
<td>
<input type="checkbox" name="is_login_active" <?php echo $wp_auth_options['is_login_active'] ? 'checked':''; ?> />
</td>
</tr>
<tr valign="top">
<th scope="row">فعال بودن ثبت نام</th>
<td>
<input type="checkbox" name="is_register_active" <?php echo $wp_auth_options['is_register_active'] ? 'checked':''; ?>/>
</td>
</tr>
<tr valign="top">
<th scope="row">عنوان فرم ورود</th>
<td>
<input type="text" name="login_form_title" value="<?php echo ($wp_auth_options['login_form_title']) ? : ''; ?>" />
</td>
</tr>
<tr valign="top">
<th scope="row">عنوان فرم ثبت نام</th>
<td>
<input type="text" name="register_form_title" value="<?php echo ($wp_auth_options['register_form_title']) ? : ''; ?>"/>
</td>
</tr>
</tr>
<tr valign="top">
<th scope="row"></th>
<td>
<input type="submit" class="button" name="savedata" value="ذخیره سازی"/>
</td>
</tr>
</table>
</form>
لطفا در این خصوص که چجوری این مورد رو اصلاح کنم راهنمایی بفرمایید