Inline Commenting f...
 
Share:
Notifications
Clear all

[Solved] Inline Commenting for registered only

5 Posts
2 Users
1 Likes
1,197 Views
Posts: 7
Topic starter
(@kingstakh)
Active Member
Joined: 4 years ago

Can't find enable Inline Commenting option only for registered users

4 Replies
Asti
Posts: 7060
 Asti
Support
(@asti)
Illustrious Member
Joined: 6 years ago

Hi @kingstakh,

We're really sorry, but there is no option that allows disabling the inline commenting for specific user-roles. 

2 Replies
(@kingstakh)
Joined: 4 years ago

Active Member
Posts: 7

@asti i mean show form only for logged in users

Asti
 Asti
Support
(@asti)
Joined: 6 years ago

Illustrious Member
Posts: 7060

@kingstakh,

Yes, I understood what you meant. We're really sorry, but there is no option to disable the inline commenting form for none logged in users.  

There is some workaround you can use. You can hide inline commenting form via CSS code for not logged-in users. Below is provided a CSS code you can use. 

body:not(.logged-in) .wpd-inline-shortcode .wpd-inline-icon-wrapper .wpd-inline-form-wrapper{
display: none !important;
}

Put the code in the Top Admin Bar > Customize > Additional CSS > "Additional CSS" textarea, save it, delete all caches and check again. 

Please don't forget to press Ctrl+F5 (twice) on the frontend before checking.

Posts: 7
Topic starter
(@kingstakh)
Active Member
Joined: 4 years ago

Can we hide form if user is

$isAnonymous
Share: