4 More Things You Should Remove From WordPress

4 More Things You Should Remove From WordPress

Remove unnecessary things and make WordPress fasterFirst 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

Delete post revisions for a faster WordPress siteWhen you’re writing a page or post, WordPress automatically saves revisions of your work, so you can access a previous version of your content if necessary.

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

Remove the theme editor submenu from WordPressThis 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

Delete the unnecessary code from your WordPress siteDepending on what you’re using your WordPress site for, you don’t necessarily need all of the code that is included by default.

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.

You can check out a couple of interesting articles here and here for suggestions on removing unnecessary code from WordPress.

4. Comments on pages

Disable commenting on your static WordPress pagesIf 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.

Image credits: Stack of Documents, Male Comment Icon, Blue glowing source code and Delete Button from Bigstockphoto.