• Home
  • Showcase
    • Newspaper Showcase
    • Newsmag Showcase
  • Support
    • Newspaper Forum
    • Newsmag Forum
    • Blog
    • Documentation
      • Newspaper Documentation
      • Newsmag Documentation
      • The Theme API
    • What’s New
      • Newspaper
        • What’s New in v 11.5
        • What’s New in v 11.4.3
        • What’s New in v 11.4
        • What’s New in v 11.2
        • What’s New in v 11
        • What’s New in v 10.4
        • What’s New in v 10.3.7
        • What’s New in v 10.3.2
        • What’s New in v 10.3
        • What’s New in v 10
      • Changelog
        • Newspaper
        • Newsmag
        • tagDiv Opt-In Builder
  • Services
    • Web Development Services
    • Web Solutions & CMS Development
    • Web design & Front-end Development
    • E-Commerce Development Services
    • Page Speed Optimization Services
  • Buy Newspaper
Search
tagDiv support
  • Become a member
  • Sign in
  • Home
  • Showcase
    • Newspaper Showcase
    • Newsmag Showcase
  • Support
    • Newspaper Forum
    • Newsmag Forum
    • Blog
    • Documentation
      • Newspaper Documentation
      • Newsmag Documentation
      • The Theme API
    • What’s New
      • Newspaper
        • What’s New in v 11.5
        • What’s New in v 11.4.3
        • What’s New in v 11.4
        • What’s New in v 11.2
        • What’s New in v 11
        • What’s New in v 10.4
        • What’s New in v 10.3.7
        • What’s New in v 10.3.2
        • What’s New in v 10.3
        • What’s New in v 10
      • Changelog
        • Newspaper
        • Newsmag
        • tagDiv Opt-In Builder
  • Services
    • Web Development Services
    • Web Solutions & CMS Development
    • Web design & Front-end Development
    • E-Commerce Development Services
    • Page Speed Optimization Services
  • Buy Newspaper

This forum is now closed to new posts

All existing content remains available to browse and search. For support, please email us at contact@tagdiv.com Our team is happy to help as soon as possible.

Home Newspaper Disable all possible register/login way and remove login form

Disable all possible register/login way and remove login form

Posted in: Newspaper
Post count: 11
Alan Feng
#324406
Dec 11, 2019 at 4:15 pm

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

login form need to remove

Post count: 35449
Calin
#324503
Dec 12, 2019 at 10:23 am

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!

Post count: 11
Alan Feng
#324873
Dec 16, 2019 at 6:35 am

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

Post count: 11
Alan Feng
#324875
Dec 16, 2019 at 6:53 am

Hi,
And another important thing is in the comment area.
There is a “Login to leave comments”.
It will active the pop up login form.
I really hope if can be replaced with the link we want.

Thanks

Post count: 11
Alan Feng
#324881
Dec 16, 2019 at 8:30 am

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

Post count: 18283
Vlad S
#325017
Dec 16, 2019 at 4:49 pm

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 !

Post count: 68
TheRiz
#329797
Feb 1, 2020 at 9:37 pm

@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?

Post count: 35449
Calin
#329963
Feb 3, 2020 at 3:45 pm

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!

Post count: 68
TheRiz
#330000
Feb 3, 2020 at 5:58 pm

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

Post count: 35449
Calin
#330061
Feb 4, 2020 at 9:45 am

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!

Post count: 68
TheRiz
#330137
Feb 4, 2020 at 6:16 pm

Unfortunately removing this code caused the entire site to break. The whole thing turned white blank making the site inaccessible unless the code is returned.

Post count: 68
TheRiz
#330142
Feb 4, 2020 at 7:29 pm

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.

Post count: 35449
Calin
#330233
Feb 5, 2020 at 11:16 am

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!

Post count: 68
TheRiz
#330271
Feb 5, 2020 at 3:42 pm

This appears to have worked. Thanks

Post count: 112
Alastair Dixon
#399526
May 1, 2021 at 10:20 pm

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.
Post count: 21065
Bettina
#399661
May 3, 2021 at 1:04 pm

Hello!

Unfortunately, only if you modify the theme files you can remove that.

Thank you!

Viewing 16 posts - 1 through 16 (of 16 total)
The forum ‘Newspaper’ is closed to new topics and replies.
Alan Feng
Support Hours (GMT+2)

Monday - Friday:
8:00 AM - 17:00 PM

Documentation
  • Newspaper
  • Newsmag
Facebook Instagram Twitter Youtube
Welcome to the Community! This is our main Support Center and, also the place where you can make new friends, people just as passionate about websites as you are. Don’t hesitate to ask for help as we are here for you. Thank you for buying our products!
Contact us: contact@tagdiv.com
  • Home
  • Blog
  • Forums
  • About us
  • Support policy
  • Privacy Policy
© tagdiv.com | Proudly made with by tagDiv. All rights reserved
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-advertisement1 yearThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Advertisement".
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
CookieDurationDescription
_ga2 yearsThis cookie is installed by Google Analytics. The cookie is used to calculate visitor, session, campaign data and keep track of site usage for the site's analytics report. The cookies store information anonymously and assign a randomly generated number to identify unique visitors.
_gat_gtag_UA_43963494_11 minuteThis cookie is set by Google and is used to distinguish users.
_gid1 dayThis cookie is installed by Google Analytics. The cookie is used to store information of how visitors use a website and helps in creating an analytics report of how the website is doing. The data collected including the number visitors, the source where they have come from, and the pages visted in an anonymous form.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
CookieDurationDescription
IDE1 year 24 daysUsed by Google DoubleClick and stores information about how the user uses the website and any other advertisement before visiting the website. This is used to present users with ads that are relevant to them according to the user profile.
test_cookie15 minutesThis cookie is set by doubleclick.net. The purpose of the cookie is to determine if the user's browser supports cookies.
VISITOR_INFO1_LIVE5 months 27 daysThis cookie is set by Youtube. Used to track the information of the embedded YouTube videos on a website.
YSCsessionThis cookies is set by Youtube and is used to track the views of embedded videos.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
CookieDurationDescription
CONSENT16 years 5 months 26 days 13 hours 25 minutesNo description
yt-remote-connected-devicesneverThis cookies is set by Youtube and stores the user's video player preferences using embedded YouTube video.
yt-remote-device-idneverThis cookies is set by Youtube and stores the user's video player preferences using embedded YouTube video.
SAVE & ACCEPT
Powered by CookieYes Logo