Title: Santi Tech Disable Posts &amp; Comments
Author: Santi
Published: <strong>2025 年 5 月 1 日</strong>
Last modified: 2026 年 3 月 22 日

---

搜索插件

![](https://ps.w.org/santi-tech-disable-posts-comments/assets/banner-772x250.png?
rev=3470300)

![](https://ps.w.org/santi-tech-disable-posts-comments/assets/icon-256x256.png?rev
=3470300)

# Santi Tech Disable Posts & Comments

 作者：[Santi](https://profiles.wordpress.org/santitech/)

[下载](https://downloads.wordpress.org/plugin/santi-tech-disable-posts-comments.2.1.zip)

 * [详情](https://cn.wordpress.org/plugins/santi-tech-disable-posts-comments/#description)
 * [评价](https://cn.wordpress.org/plugins/santi-tech-disable-posts-comments/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/santi-tech-disable-posts-comments/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/santi-tech-disable-posts-comments/#developers)

 [支持](https://wordpress.org/support/plugin/santi-tech-disable-posts-comments/)

## 描述

This plugin combines admin cleanup with a built-in SEO module — no third-party SEO
plugin needed.

**Admin features:**
 * Removes “Posts” and “Comments” from the admin menu * Disables
comments and pingbacks across the entire site * Disables the Gutenberg block editor
and restores the classic editor * Removes the comments admin bar link and related
widgets * Allows SVG, ICO, TTF, and EOT uploads to the Media Library

**SEO features (Settings > Santi Tech SEO):**
 * Custom SEO title and meta description
per post/page with live character counter * Open Graph tags (og:title, og:description,
og:image) for social sharing * XML sitemap at /sitemap.xml — automatically includes
all published pages and posts * Canonical tag per page * Robots meta tag per post(
index/noindex) * Title template with variables (%title%, %sitename%, %sep%, %page%)*
Noindex for search results, date archives, tag archives, and author pages * Schema.
org JSON-LD: WebSite on all pages, Organization/Person on homepage, Article on posts/
pages

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/santi-tech-disable-posts-comments`
    directory, or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Visit Settings > Santi Tech to configure which features you want to enable.

## 常见问题

### Can I re-enable comments later?

Yes. Just disable the “Disable Comments” option in Settings > Santi Tech.

### Does this affect custom post types?

No, this plugin only targets the default “Posts” and “Comments”.

### Will disabling Gutenberg affect my existing content?

No, your existing content remains the same. This only changes the editor interface
to the classic editor.

### Is it safe to allow SVG uploads?

SVG files can contain scripts, so only enable this if you trust your admin users.

## 评价

![](https://secure.gravatar.com/avatar/9f2d75b39f60f7f4f7fd1fd53ae8daefe91116cf924b2a543502775cab65e22b?
s=60&d=retro&r=g)

### 󠀁[Great simple plugin](https://wordpress.org/support/topic/great-simple-plugin-134/)󠁿

 [Santi](https://profiles.wordpress.org/potatoladie/) 2026 年 2 月 26 日

Works like a charm, no bloating

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/santi-tech-disable-posts-comments/reviews/)

## 贡献者及开发者

「Santi Tech Disable Posts & Comments」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Santi ](https://profiles.wordpress.org/santitech/)

[帮助将「Santi Tech Disable Posts & Comments」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/santi-tech-disable-posts-comments)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/santi-tech-disable-posts-comments/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/santi-tech-disable-posts-comments/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/santi-tech-disable-posts-comments/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/santi-tech-disable-posts-comments/)。

## 更新日志

#### 2.1

 * Added Enable SEO Module toggle on the main Settings > Santi Tech page
 * SEO module (meta tags, Open Graph, sitemap, schema.org, meta box) is now opt-
   in and off by default

#### 2.0

 * Added full SEO module: meta title/description per post, Open Graph tags, XML 
   sitemap, canonical tags, robots meta tag, schema.org JSON-LD (WebSite, Organization/
   Person, Article)
 * Added SEO settings page (Settings > Santi Tech SEO): title template, separator,
   entity schema, default OG image, noindex options
 * Added live character counter for SEO title (60 chars) and description (160 chars)
   in the post editor
 * Added OG image selector (media uploader) per post/page
 * Disabled WP built-in sitemap (wp-sitemap.xml) to avoid duplication

#### 1.6

 * Fixed redundant Gutenberg disable logic and removed legacy gutenberg_can_edit_post_type
   filter
 * Fixed admin bar comments removal to use modern admin_bar_menu hook
 * Added wp_check_filetype_and_ext filter so SVG/ICO/TTF/EOT uploads work reliably
   on WP 4.7.1+
 * Removed unused internal constants

#### 1.5

 * Added support for TTF and EOT uploads

#### 1.4

 * Added option to disable Gutenberg editor site-wide
 * Restored classic editor functionality when Gutenberg is disabled

#### 1.3

 * Added ability to allow SVG and ICO uploads
 * Fixed function name prefixes
 * Added proper file name conventions

#### 1.0

 * Initial release

## 额外信息

 *  版本 **2.1**
 *  最后更新：**3 月前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.5 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/santi-tech-disable-posts-comments/)
 * 标签
 * [disable comments](https://cn.wordpress.org/plugins/tags/disable-comments/)[disable gutenberg](https://cn.wordpress.org/plugins/tags/disable-gutenberg/)
   [disable posts](https://cn.wordpress.org/plugins/tags/disable-posts/)[meta tags](https://cn.wordpress.org/plugins/tags/meta-tags/)
   [seo](https://cn.wordpress.org/plugins/tags/seo/)
 *  [高级视图](https://cn.wordpress.org/plugins/santi-tech-disable-posts-comments/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/santi-tech-disable-posts-comments/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/santi-tech-disable-posts-comments/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/santi-tech-disable-posts-comments/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/santi-tech-disable-posts-comments/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/santi-tech-disable-posts-comments/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/santi-tech-disable-posts-comments/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/santi-tech-disable-posts-comments/reviews/)

## 贡献者

 *   [ Santi ](https://profiles.wordpress.org/santitech/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/santi-tech-disable-posts-comments/)