How do I hide/remove access to the About, FAQ, TOS and Privacy Policy for the members of the community?
I don’t think you can get rid of the existence of the subpages themselves, but you can “hide” easy user access to them by using CSS. So, for example, if you want to remove links to them from the hamburger menu, you can use CSS, like
.hamburger-panel a.widget-link.about-link {
display: none;
}
and
.hamburger-panel a.faq-priority.widget-link {
display: none;
}
2 个赞
您说的“汉堡菜单”是指侧边栏吗?通常,“汉堡菜单”仅指移动设备上的菜单,但由于此侧边栏也显示为汉堡图标,所以也许您指的是这个。
如果是这样,也许自 2021 年最初发帖以来情况有所变化。看起来我可以从溢出菜单中删除这些页面。人们仍然可以直接通过链接访问它们,但它们不会显示在这里。
如果我错了,请纠正我!
1 个赞
4 个赞
我隐藏这些的方法是:
- 使用“自定义此部分”从侧边栏选项中移除这些页面
- 在设置中更改
tos-url等的 URL 到另一个页面 - 添加一些 CSS 来隐藏我想要隐藏的两个特定链接,例如:
nav-pills .nav-item-privacy { display: none; } .nav-pills .nav-item-tos { display: none; }
这样做是否足以防止这些页面出现在任何地方,还是我遗漏了什么?
我应该澄清一下,对我来说,这一切看起来都“不错”,但我担心是否有其他我没有解决的方法可以访问这些页面或查看这些链接。
1 个赞

