Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要为客户创建一个自定义的 WordPress 管理界面。我想从管理区域完全禁用置顶帖功能。
我在互联网上发现了一些建议使用 css 隐藏复选框的帖子,但我真的很想从编辑和快速编辑屏幕中禁用该功能。
有任何想法吗?
看看这个类似的问题。
此处的答案允许您使用 CSS 隐藏复选框,并清除 Wordpress 选项,从而有效地删除任何粘性帖子记录。在我看来,这并不完美,但却是一个可行的解决方案。