Discourse Meta
对匿名用户隐藏自定义标题链接
开发
custom-header-links
Steven
2020 年3 月 23 日 00:09
2
在通过组件升级找到更简洁的方法之前,您可以在主题中添加以下 CSS 行:
.anon .custom-header-links { display: none; }
How to hide a button (SVG icon) if user is logged in?
在话题中显示帖子
相关话题
话题
回复
浏览量
活动
Make Custom Header Links private for private/login required sites
Feature
custom-header-links
2
48
2021 年5 月 12 日
Adding a header link for Guests Only
Support
4
150
2025 年9 月 5 日
How can I add a button to the header?
Support
4
1387
2019 年10 月 31 日
Show header text to non-logged in users
Marketplace
1
1331
2016 年8 月 27 日
Control CSS based on user's logged in state
Support
2
1133
2019 年5 月 1 日