Hi there,
Where can I fully remove the login form.
I will use third party SSO plugin to replace the register/login process in WP and the theme provided.
If I only want user register/ login through our own SSO panel.
Is there any other route I need to restrict(disable)?
Thank you

Hi,
In order to disable the register/login you’ll need to deactivate this option from theme panel -> https://i.imgur.com/5whl4MT.png if you are using cloud header, then the login element need to be remove using the tagDiv Composer, edit the cloud header and delete the login element. -> https://i.imgur.com/37Wnp7m.jpg
Thank you!
Hi
What if I did not use cloud header.
Is there any method to remove the login element.
Let’s say I just use the default header setting and already disable login in theme panel.
But there is still a LOGIN MODAL…<- how to remove these?
In html it look like below
<!-- LOGIN MODAL -->
<div id="login-form" class="white-popup-block mfp-hide mfp-with-anim">
....... some login form html here
</div>
The reason I need to remove all the login/register by your theme is
because I have my another SSO login plugin. And I hope all our user only login through this.
Thank you
I found the “LOGIN MODAL” must be included by the comments template
/td-composer\legacy\common\wp_booster\comments.php LINE:119
if ( get_option( 'comment_registration' ) && ! is_user_logged_in() ) {
require_once( TDC_PATH_LEGACY . '/parts/header/td-login-modal.php');
}
What is the best way to inherit this comments template and modify it in child theme?
thank you
Hello !
Please note that those are wordpress functions which can be remove from here: https://www.screencast.com/t/HjdclLaHHY5
I hope this was helpful !
Thank you !
@Calin I am trying to remove all login/register code as well. Right now even though disabled in the theme panel the code appears everywhere on the page and links to pages that don’t exist (example – the privacy policy link is linking to a contact form 7 WP draft page).
In the code this begins with “<!– register/login section –>”
I am using a cloud template that I edited, but I see no way to remove it from there, since it does not appear anywhere on the front end.
Can this code be removed from TD Composer plugin, or commented out?
Hi,
The above code in use for login, make sure that is disable from theme panel -> https://i.imgur.com/Wr7vIcD.png also if you are using cloud templates, edit it with tagDiv Composer, use the right click and delete the header login -> https://i.imgur.com/cN0S3ce.png
If there is still a problem, please provide me a link and I will guide you to remove the login code.
Thank you!
Login is disabled in the theme panel and there is no login element as shown in your screenshot. We are using header template 26. Nothing is visible in TD Composer. https://www.castlecrypto.gg
Hi,
I’ve made some deep investigations and if you set from theme panel the login off, the option will no longer be display on website, but this will be still load in backend, that’s what is display, if you want to remove it from loading you’ll need to remove it from theme files, but this need to be done after each theme update.
-> wp-content/plugins/td-composer/legacy/Newspaper/parts/menu-mobile.php -> https://i.imgur.com/wsfQ07L.png
-> wp-content/plugins/td-composer/mobile/parts/menu-mobile.php -> https://i.imgur.com/v3ALEwx.png
Thank you!
Just to be clear, it seems that only modifying
-> wp-content/plugins/td-composer/legacy/Newspaper/parts/menu-mobile.php -> https://i.imgur.com/wsfQ07L.png
breaks the whole site. Modifying the other version seems to have no effect on anything.
Hi,
Please make sure that you made these settings in both files -> https://i.imgur.com/cWybLek.png -> https://i.imgur.com/XBLmy6g.png
This should work!
Thank you!
Im getting something similar but it’s the desktop login for not the mobile on (Its appearing on both desktop and mobile however) – this has only stated appearing since updateing to the latest version of the theme.
<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-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>
<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”>
<div class=”td-login-info-text”>A password will be e-mailed to you.</div>
</div>
</div>
</div>
Please help! I don’t need any login form bloated code – how do i remove it?
-
This reply was modified 5 years by
Alastair Dixon.