=== Santi Tech Disable Posts & Comments === Contributors: santitech Tags: disable posts, disable comments, disable gutenberg, remove posts, remove comments, admin menu Requires at least: 5.0 Tested up to: 6.8 Requires PHP: 7.0 Stable tag: 1.6 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Removes "Posts" and "Comments" from the WordPress admin, disables comments site-wide, and can disable the Gutenberg editor. == Description == This lightweight plugin removes the "Posts" and "Comments" sections from the WordPress admin menu, disables commenting functionality across the site, and can disable the Gutenberg editor site-wide. Ideal for sites that only use Pages or custom post types and want to simplify the admin interface. 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 * Cleans up the editing screens by removing comment options * Allows SVG and ICO uploads to the Media Library == Installation == 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. == Changelog == = 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 == Frequently Asked Questions == = 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. == Screenshots == 1. Admin menu without Posts and Comments. 2. Settings page to configure options.