wpDiscuz - WordPress Comment Plugin
Share:
Notifications
Clear all

[Solved] Main form wrapper and secondary form wrapper display rules


igor
Posts: 17
 igor
Topic starter
(@igor)
Active Member
Joined: 2 years ago

Hi guys!

Is there a way to show the class "wpd-form wpd-form-wrapper wpd-main-form-wrapper" only to logged in users?

The class "wpd-form wpd-form-wrapper wpd-secondary-form-wrapper" should continue to be shown to guests and logged in users.

Thanks in advance.

2 Replies
Asti
Posts: 3913
 Asti
Support
(@asti)
Support member
Joined: 4 years ago

Hi @igor,

There are two classes you can use:

  • for guests: wpdiscuz_unauth
  • for logged-in users: wpdiscuz_auth
1 Reply
igor
 igor
(@igor)
Joined: 2 years ago

Active Member
Posts: 17

@asty

Thank you very much, man!

Share: