First up, a big thank you to everyone who weighed in on the discussion on our last article and offered suggestions on things that can/should be removed from WordPress. There were some interesting ideas thrown about, so I thought we’d follow this up with a sequel.
So on with the show. Here are four more things that you can remove from WordPress – for a cleaner, faster and healthier website.
1. Post revisions
Some people make heavy use of WordPress revisions, but a majority of bloggers and site owners have no need for them at all.
You can free up a lot of space on your WordPress database by getting rid of old revisions and controlling the number of new ones that get created. The easiest way to do this with the Revision Control plugin or something similar.
2. The theme editor submenu
This one is particularly important if you’re a WordPress developer who creates self-managed websites for non-WP folk. The last thing you want is an unsuspecting client stumbling into the theme editor and accidentally destroying the site you’ve built for them.
The easiest way to avoid this scenario is to simply remove the theme editor from the dashboard altogether.
This is a topic we’ve covered previously at WPMU. Check out this article for instructions on how it’s done.
3. Unnecessary code
Unnecessary code can clutter your WordPress site and drag down your page loading times. So it’s a good idea to clean house once in awhile and get rid of anything you don’t actually need for your site to work properly.
4. Comments on pages
If you’re using WordPress as a CMS, for a small business website or something like that, it’s usually a good idea to disable comments on the static pages of your site. You don’t really want site visitors leaving comments on your ‘About Us’ or ‘Contact Us’ pages – it looks pretty weird.
Most people want to disable comments on static pages but keep them on blog posts. To do this, you’ll need to get into the page.php file of your WordPress theme. Find the following line of code, and delete it:
<?php comments_template(); ?>
This removes the comments option from the static pages of your WordPress site.
Are we missing something?
If you’ve got any more suggestions for slimming down WordPress that weren’t included in this article or the previous one, please leave a comment below and let us know.