Notifications
Clear all

Hide Wordpress login

17 Posts
3 Users
0 Reactions
3,413 Views
(@johannes)
Eminent Member
Joined: 6 years ago
Posts: 36
Topic starter  

Hey guys,

 
I want to hide the link to the wp login in the message "pls login to comment" since I want to limit login options to social networks. How can I do that? 
 
Best 
Johannes 

   
Quote
Arina
(@arina)
Support Team
Joined: 11 years ago
Posts: 101
 

Hi Johannes

Please navigate to Dashboard > Comments > Settings > Comment Form admin page, enable the Hide "Please login to comment" text option.

More info here: https://wpdiscuz.com/docs/wpdiscuz-documentation/settings/comment-form/#components


   
ReplyQuote
(@johannes)
Eminent Member
Joined: 6 years ago
Posts: 36
Topic starter  

Heya,

Thanks. It is still visible I am afraid. 

loginwp

   
ReplyQuote
Arina
(@arina)
Support Team
Joined: 11 years ago
Posts: 101
 

Hi @johannes,

Please delete all caches and do CTRL + F5 on front-end before checking.


   
ReplyQuote
(@johannes)
Eminent Member
Joined: 6 years ago
Posts: 36
Topic starter  

Heya,

I did that, it is still there. 

loginwpsettings

The settings should be correct though. 


   
ReplyQuote
Arina
(@arina)
Support Team
Joined: 11 years ago
Posts: 101
 

Dear @johannes,

Yes, the settings are correct. Could you please provide us the list of plugins you're using?  


   
ReplyQuote
(@johannes)
Eminent Member
Joined: 6 years ago
Posts: 36
Topic starter  

Sure, maybe one of theme is causing the problems:

All In One WP Security
AMP
Arqam Lite
Broken Link Checker
CM Table Of Contents
Coming Soon Page & Maintenance Mode by SeedProd
Cookiebot | GDPR Compliant Cookie Consent and Notice
Enable Media Replace
Font Awesome
Header Footer Code Manager
Insert PHP Code Snippet
Jannah - Extensions
Let's Live Blog
Let's Review
Let's Social Count
Lets Info Up
Loco Translate
Medien-Assistent
No Category Base (WPML)
Page Builder by SiteOrigin
Phoenix Media Rename
Pretty Links
Prosodia VGW OS für Zählmarken (VG WORT)
Quiz And Survey Master
Regenerate Thumbnails
Shortcodes Ultimate
Show IDs
Simple Custom CSS
SiteOrigin CSS
SiteOrigin Premium
SiteOrigin Widgets Bundle
Taqyeem - Buttons Addon
Taqyeem
Taqyeem Predefined Criteria
ThirstyAffiliates
UpdraftPlus - Backup/Restore
User Role Editor
Widget Shortcode
WP Super Cache
wpDiscuz
Yoast SEO Premium


   
ReplyQuote
Arina
(@arina)
Support Team
Joined: 11 years ago
Posts: 101
 

@johannes,

Could you please deactivate the WP Super Cache plugin and check it again? Don't forget to press CTRL+ F5 on frontend. Also, please leave an example URL to allow us to check it too.


   
ReplyQuote
(@johannes)
Eminent Member
Joined: 6 years ago
Posts: 36
Topic starter  

Doesn't seem to help.

You can check here:

https://www.meeplemansion.de/tie-life-style/spieth-in-danger-of-missing-cut-2/

What is curious is that the text "Bitte loggen sie sich ein..." in the settings is different from the actual front end text "bitte anmelden", so I first thought there must be a different option to change that, maybe the theme or sth. 


   
ReplyQuote
Arina
(@arina)
Support Team
Joined: 11 years ago
Posts: 101
 

@johannes,

ok, we understand what the problem is. You've disabled the commenting for guests, that's why this message is there.  If you enable it, the message will be hidden. You can control guest commenting in Dashboard > Comments > Forms admin page, just edit the Default comment form.
More info here:

https://wpdiscuz.com/docs/wpdiscuz-documentation/getting-started/custom-comment-form/comment-form-settings/#only-loggedin


   
ReplyQuote
(@johannes)
Eminent Member
Joined: 6 years ago
Posts: 36
Topic starter  

Yeah, but I don't WANT guests to be able to comment. They can now. 


   
ReplyQuote
(@johannes)
Eminent Member
Joined: 6 years ago
Posts: 36
Topic starter  

That is guest without SOM account 


   
ReplyQuote
Arina
(@arina)
Support Team
Joined: 11 years ago
Posts: 101
 

@johannes,

In this case disable the guest commenting, then navigate to Dashboard > Comments > Settings > Styling admin page, put the following CSS code in"Custom CSS code" textarea, save it delete all caches, do CTRL+F5 on frontend.

.wpdiscuz-form-top-bar .wpdiscuz-ftb-left {
display: none !important;
}

   
ReplyQuote
(@johannes)
Eminent Member
Joined: 6 years ago
Posts: 36
Topic starter  

Hm. That would only hide the display of the content, it would still be there in the code, which is what I don't want. I want the login page url to be secret. 


   
ReplyQuote
Arina
(@arina)
Support Team
Joined: 11 years ago
Posts: 101
 

Hi @johannes,

There are two ways to do it:

1. Disable the "Show logged-in user name and logout link on top of main form" option. This option will hide the username and link to logout located under the “Leave Reply” header for logged-in user as well.

2. Using this js code, put it in your current active them's js file

jQuery('.fa-sign-in-alt').parent('#wc_show_hide_loggedin_username').find('*').remove();

   
ReplyQuote
(@johannes)
Eminent Member
Joined: 6 years ago
Posts: 36
Topic starter  

If I understand correctly, that just gets rid of the whole dialogue. I would like to just kill the link to the WP login. Is that also possible?

 


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6147
 

Hi @johannes,

ok, please remove the js code provided in the previous post and put this one. It'll remove the link from the login phrase:

jQuery('div#wc_show_hide_loggedin_username > span' ).text(jQuery('div#wc_show_hide_loggedin_username > span' ).text());

   
ReplyQuote
Share:
Scroll to top