Remove unnecessary login/register code from html

Posted in: Newspaper
Post count: 11

I want to remove these lines of code from the front end. I have tried changing few lines of code in the td composer plugin, but nothing worked. Please help.

<div id=”login-form” class=”white-popup-block mfp-hide mfp-with-anim td-login-modal-wrap”>
<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”>Welcome! Log into your account</div>
<div class=”td_display_err”></div>
<form id=”loginForm” action=”#” method=”post”>
<div class=”td-login-inputs”><input class=”td-login-input” autocomplete=”username” type=”text” name=”login_email” id=”login_email” value=”” required><label for=”login_email”>your username</label></div>
<div class=”td-login-inputs”><input class=”td-login-input” autocomplete=”current-password” type=”password” name=”login_pass” id=”login_pass” value=”” required><label for=”login_pass”>your password</label></div>
<input type=”button” name=”login_button” id=”login_button” class=”wpb_button btn td-login-button” value=”Login”>
</form>
<div class=”td-login-info-text”>Forgot your password? Get help</div>
<div class=”td-login-info-text”>Privacy Policy</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”>Recover your password</div>
<div class=”td_display_err”></div>
<form id=”forgotpassForm” action=”#” method=”post”>
<div class=”td-login-inputs”><input class=”td-login-input” type=”text” name=”forgot_email” id=”forgot_email” value=”” required><label for=”forgot_email”>your email</label></div>
<input type=”button” name=”forgot_button” id=”forgot_button” class=”wpb_button btn td-login-button” value=”Send My Password”>
</form>
<div class=”td-login-info-text”>A password will be e-mailed to you.</div>
</div>
</div>
</div>
</div>
</div>

Post count: 27744

Hello,

Please let me know what element for login you use.

Thank you!

Post count: 11

I can see that this code is loading on every page of my website. I am using the default header. I have disabled the login/register in the theme panel and also disabled its WordPress settings. But this code is still loading on each page. My HTML page size is already too large, and I don’t want to load this unnecessary code. Tell me which file or code I have to change in order to remove this code.

Post count: 27744

Hello,

Please try to use the cloud template, then the code will not be displayed, only if you have the header login added.

Thank you!

Post count: 8

Jumping onto this topic too. I use a header cloud template but that code, as mentioned above, still appears in html. I have tried various methods to remove the unnecessary code – it still remains embedded in code. Any other way to remove this please?

Post count: 27744

Hi,

Please let me know what theme version you have.

Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.