# 如何创建只有管理员才能使用的主题？

**URL:** <https://meta.discourse.org/t/how-to-create-a-theme-which-only-administrators-can-use/268500>\
**Category:** Development\
**Created:** [2023年六月15日 17:46 UTC](https://meta.discourse.org/t/how-to-create-a-theme-which-only-administrators-can-use/268500 "2023-06-15T17:46:11Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)\
**Post date:** [2023年六月15日 21:36 UTC](https://meta.discourse.org/t/how-to-create-a-theme-which-only-administrators-can-use/268500/8 "2023-06-15T21:36:20Z")

</div>

你好 👋  
你可以像你的版主一样使用安全模式（[Safe Mode](https://meta.discourse.org/t/53504?silent=true)）来禁用主题。

通过自定义版块，你可以快速访问 `/safe-mode`。

1. 像这样在你的侧边栏创建一个自定义版块。  

2. 它将放置在导航菜单（侧边栏）的自定义版块中。  

3. 在这里你可以禁用主题和主题组件。点击“进入安全模式”按钮。

---

_[View the full topic](https://meta.discourse.org/t/how-to-create-a-theme-which-only-administrators-can-use/268500)._
