=== Santi Tech Disable Posts & Comments === Contributors: santitech Tags: disable posts, disable comments, disable gutenberg, seo, meta tags, open graph, sitemap, schema Requires at least: 5.5 Tested up to: 6.8 Requires PHP: 7.4 Stable tag: 2.1 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 and Gutenberg, allows custom file uploads, and includes a full SEO module. == Description == 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 == 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 == = 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 == 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.