Remove register/login section from code

Posted in: Newspaper
Post count: 6

I do not use the website registration form but for some reason in the code block that is – that is not very good in terms of seo. how to remove the blog from the code?:


<!-- register/login section -->
<div id="login-form-mobile" class="td-register-section">

<div id="td-login-mob" class="td-login-animation td-login-hide-mob">
<!-- close button -->
<div class="td-login-close">
<i class="td-icon-read-down"></i>
<div class="td-login-title">Sign in</div>
<!-- close button -->
<div class="td-mobile-close">
<i class="td-icon-close-mobile"></i>
</div>
</div>
<div class="td-login-form-wrap">
<div class="td-login-panel-title"><span>Welcome!</span>Log into your account</div>
<div class="td_display_err"></div>
<div class="td-login-inputs"><input class="td-login-input" type="text" name="login_email" id="login_email-mob" value="" required><label>Ваше имя пользователя</label></div>
<div class="td-login-inputs"><input class="td-login-input" type="password" name="login_pass" id="login_pass-mob" value="" required><label>Ваш пароль</label></div>
<input type="button" name="login_button" id="login_button-mob" class="td-login-button" value="ВОЙТИ">
<div class="td-login-info-text">Вы забыли свой пароль?</div>
</div>
</div>

<div id="td-forgot-pass-mob" class="td-login-animation td-login-hide-mob">
<!-- close button -->
<div class="td-forgot-pass-close">
<i class="td-icon-read-down"></i>
<div class="td-login-title">Password recovery</div>
</div>
<div class="td-login-form-wrap">
<div class="td-login-panel-title">Восстановите свой пароль</div>
<div class="td_display_err"></div>
<div class="td-login-inputs"><input class="td-login-input" type="text" name="forgot_email" id="forgot_email-mob" value="" required><label>Ваш адрес электронной почты</label></div>
<input type="button" name="forgot_button" id="forgot_button-mob" class="td-login-button" value="Отправить Мой Пароль">
</div>
</div>
</div>
</div>

Post count: 22421

Hello,

The theme panel has a setting that allows you to disable the registration form: http://screencast.com/t/SgK5fcdeuvj
If you want to remove it from the code then I think it will be enough to remove the call for the login modal from here: http://screencast.com/t/88yoIN9agt

Thank you!

Post count: 6

On one site off – part of the code is deleted. But on the second site, this part of the code remained. What to do?

Post count: 174

Same here. I’m using Ultimate Member plugin for registration/login, so the animation is what I need removed. I want to keep the avatar, signup, and login blocks, just not the animation that prompts to signup. Been digging around in the files, which parts should be commented out? Desktop is fine, I was able to change that, but mobile even when I add the ultimate member links to /wp-content/themes/Newspaper/mobile/parts.login.php, it still shows the animation in between and when hitting the back button.

  • This reply was modified 9 years by JJ0000.
  • This reply was modified 9 years by JJ0000.
Post count: 22421

@ serjnsk well if you have 2 sites, you need to remove the code for the second as well. You cannot edit just the one and hope to affect the other. Also make sure you have the same version of the code on both. Code gets changed. A different version of the theme will have a different code.


@JJ0000
The same login is used on your theme as well as it;s the same theme. If you want to disable the theme login modal, use the solution above. If you want to keep parts of the login modal, then it will be much much more complicated and we suggest hiring a developer as you will need substantial coding skills for this modification.

Thank you!

Post count: 174

I was able to get the links pointed to the ultimate member pages by modifying the core login and register pages.

Post count: 268

Hi

in my site I have

<div id=”td-outer-wrap”><div class=”td-header-wrap td-header-style-6″><div class=”td-header-top-menu-full”><div class=”td-container td-header-row td-header-top-menu”><div id=”login-form” class=”white-popup-block mfp-hide mfp-with-anim”><div class=”td-login-wrap”> <i class=”td-icon-modal-back”></i><div id=”td-login-div” class=”td-login-form-div td-display-block”><div class=”td-login-panel-title”>Sign in</div><div class=”td-login-panel-descr”>Benvenuto! Accedi al tuo account</div><div class=”td_display_err”></div><div class=”td-login-inputs”><input class=”td-login-input” type=”text” name=”login_email” id=”login_email” value=”” required><label>il tuo username</label></div><div class=”td-login-inputs”><input class=”td-login-input” type=”password” name=”login_pass” id=”login_pass” value=”” required><label>la tua password</label></div> <input type=”button” name=”login_button” id=”login_button” class=”wpb_button btn td-login-button” value=”Login”><div class=”td-login-info-text”>Forgot your password? Get help</div></div><div id=”td-forgot-pass-div” class=”td-login-form-div td-display-none”><div class=”td-login-panel-title”>Password recovery</div><div class=”td-login-panel-descr”>Recupera la tua password</div><div class=”td_display_err”></div><div class=”td-login-inputs”><input class=”td-login-input” type=”text” name=”forgot_email” id=”forgot_email” value=”” required><label>La tua email</label></div> <input type=”button” name=”forgot_button” id=”forgot_button” class=”wpb_button btn td-login-button” value=”Send My Password”><div class=”td-login-info-text”>Una password ti verrà inviata via email.</div></div></div></div></div></div>

eliminating the code as Bogdan does not go away .. how can I do?

Thanks

Post count: 6600

Hi,

For that code you can turn the wp allow membership option off, like this: https://www.screencast.com/t/rH9zOF3CY and/or remove the code from here: https://www.screencast.com/t/2kt2Xmco4 or here: https://www.screencast.com/t/KLwOgqPMVxG

Thanks!

Post count: 268

Hi Lucian,

thanks, i use https://www.screencast.com/t/KLwOgqPMVxG
and it is perfect…

This also remove the code on mobile theme?

Thanks!

  • This reply was modified 9 years by Bintmusic.
Post count: 6

Hi, Bogdan.
I did this on both sites. In one case helped, the other not.
I have the registration form disabled and edited top-menu.php

Post count: 22421

Hiu

@bintmusic
that code will not remove it from the mobile theme. the mobile theme has it;s own files and folders in the main theme folder under the mobile folder


@serjnsk

Please clear cahce on the one that does not work .It;s the same method, if both sites use the same theme, the solution will work on both ends.

Thanks.

Post count: 268

Hi Bogdan

I looked for files in folders /mobile/ with something similar but I did not find … can you tell me what to remove and in which file .php to disable any unnecessary login code?

Thanks

Post count: 22421

Maybe this is the code you were looking for: https://www.screencast.com/t/52ufTLeI2GbG
Thanks.

Post count: 6

In the code there is this fragment. How to remove?

<!– LOGIN MODAL –>

<div id=”login-form” class=”white-popup-block mfp-hide mfp-with-anim”>
<div class=”td-login-wrap”>
<i class=”td-icon-modal-back”></i>
<div id=”td-login-div” class=”td-login-form-div td-display-block”>
<div class=”td-login-panel-title”>Sign in</div>
<div class=”td-login-panel-descr”>Добро пожаловать! Войдите в свою учётную запись</div>
<div class=”td_display_err”></div>
<div class=”td-login-inputs”><input class=”td-login-input” type=”text” name=”login_email” id=”login_email” value=”” required><label>Ваше имя пользователя</label></div>
<div class=”td-login-inputs”><input class=”td-login-input” type=”password” name=”login_pass” id=”login_pass” value=”” required><label>Ваш пароль</label></div>
<input type=”button” name=”login_button” id=”login_button” class=”wpb_button btn td-login-button” value=”Login”>
<div class=”td-login-info-text”>Forgot your password? Get help</div>

</div>

<div id=”td-forgot-pass-div” class=”td-login-form-div td-display-none”>
<div class=”td-login-panel-title”>Password recovery</div>
<div class=”td-login-panel-descr”>Восстановите свой пароль</div>
<div class=”td_display_err”></div>
<div class=”td-login-inputs”><input class=”td-login-input” type=”text” name=”forgot_email” id=”forgot_email” value=”” required><label>Ваш адрес электронной почты</label></div>
<input type=”button” name=”forgot_button” id=”forgot_button” class=”wpb_button btn td-login-button” value=”Send My Password”>
<div class=”td-login-info-text”>Пароль будет выслан Вам по электронной почте.</div>
</div>
</div>
</div>

Post count: 22421

Well if you do not know how to remove a code, then you should really hire a freelancer to help out.
Thanks.

Post count: 1

@Bogdan B.

I bought the theme “Newsmag” 5 times during 3 years and in previous 4 times I had not this problem.

I disabled the theme header login by SHOW SIGN IN / JOIN
Hid TOP BAR
Hid TOP MENU
Unchecked “Anyone can register”.
…but the code still appears and the word “password” is repeated 13 times in the code <!– register/login section –>
<div class=”td-login-inputs”><input class=”td-login-input” type=”password” name=”login_pass” id=”login_pass-mob” value=”” required><label>your password</label></div>
<div class=”td-login-info-text”>Forgot your password?</div>
<div id=”td-forgot-pass-mob” class=”td-login-animation td-login-hide-mob”>
<div class=”td-forgot-pass-close”>
<div class=”td-login-title”>Password recovery</div>
<div class=”td-login-panel-title”>Recover your password</div>
<div class=”td-login-inputs”><input class=”td-login-input” type=”password” name=”login_pass” id=”login_pass” value=”” required><label>your password</label></div>
<div class=”td-login-info-text”>Forgot your password? Get help</div>
<div class=”td-login-panel-title”>Password recovery</div>
<div class=”td-login-panel-descr”>Recover your password</div>
<input type=”button” name=”forgot_button” id=”forgot_button” class=”wpb_button btn td-login-button” value=”Send My Password”>
<div class=”td-login-info-text”>A password will be e-mailed to you.</div>

var td_email_user_pass_incorrect=”User or password incorrect!”;

Please help and advice what to do.

Post count: 35449

Hi Levzan,

Please make sure that you’ve clear all cache after you’ve made these changes!
If there is still a problem, please provide me a link where I can inspect it!

Let me know the results!
Thank you!

Viewing 17 posts - 1 through 17 (of 17 total)
You must be logged in to reply to this topic.