Discourse Meta
How to hide a button (SVG icon) if user is logged in?
Dev
omarfilip
April 5, 2024, 12:02am
2
You could use the
.anon
class and do it similar to this:
2 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
How to show a piece of content to *only* non-logged in users
Support
2
512
February 8, 2023
How to display a banner for visitors only?
Support
2
825
June 8, 2024
Plugin Login to view content (Working)
Dev
9
893
December 23, 2019
How to disable the banner topic dismiss button for non logged in users only
Support
3
471
August 24, 2020
A spelled out how-to of hiding stuff from non-logged in users
Support
2
763
April 28, 2020