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
34
2021 年5 月 12 日
Adding a header link for Guests Only
Support
5
106
2025 年10 月 5 日
How can I add a button to the header?
Support
5
1350
2019 年10 月 31 日
Show header text to non-logged in users
Marketplace
2
1326
2016 年9 月 26 日
Control CSS based on user's logged in state
Support
3
1111
2022 年8 月 20 日