Codelight WP Cleanup
Remove various unneeded functionality from your WP installation.
by Codelight.eu · github.com/codelight-eu/codelight-wp-cleanup · website
★ 16stars
287composer installs
4forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/codelight-eu/codelight-wp-cleanup/archive/refs/heads/master.zipAlso on Packagist as codelight-eu/codelight-wp-cleanup:
composer require codelight-eu/codelight-wp-cleanupFrom the readme
wp-cleanup
Wordpress comes with a bunch of features that are rarely needed when WP is used more as a content management system instead of a blogging platform. This can lead to broken archive pages, admin dashboard bloat and even a couple of small security concerns.
This plugin provides an easy way to selectively disable most of the stuff I've found to be useless in a CMS context.
Note that this plugin has not been tested thoroughly - patches and issues are welcome.
Todo:
Review and fix removing Comments;
Remove comments icon from admin bar;
Allow moving Menus to a separate top-level menu item (i.e. instead of Appearance);
Allow bulk registering options (instead of a ton of separate addthemesupport() calls);
Remove 'widgets' link from admin bar;
Refactor architecture;
Refactor to use PSR-2.
Summary
The plugin provides filters to easily:
Disable specific widgets;
Disable Categories, Tags and specific archive pages (e.g. Author, Date, Attachment)
You can also enable the following:
Remove admin bar and restrict dashboard access for users without the 'editposts' capability;
Remove comment support from 'post' and 'page' post types; remove all (most?) comment-related stu