If you want to create a simple contact form for you website, then one of the easiest ways to do that is with the plug-in Contact Form 7. But sometimes you want a bit more control over the form, even if it is just to change the fields. Admittedly Contact Form 7 allows you to do that as well, but a plug-in called cFormsII makes it a lot more comfortable to do, and also adds a lot of options at the same time.
For a start you have more control over the way the form submission is processed. Not only is it stored in a table in your database, that you can view from within the WordPress dashboard (if you activate that option), but you can specify whether the e-mail is sent directly from WordPress or via an SMTP server. You can even go as far as specifying how the end-of-lines are defined: LF or CR-LF. Continue reading
Over the course of the past few posts I’ve shown you how to clean up the post revisions in your WordPress database and limit them in the future, and how to remove the spam comments from the database as well.
Now just removing them may make things a little quicker, but to optimise things even more we need to compress the database so that the areas where those things were stored are not just marked as “deleted”, but remove completely. This compresses the database and makes it smaller. In some cases, that compression can be considerable.
To do this, we’re going to re-visit a plug-in that I’ve talked about before: Continue reading
I’ve talked before about how important it is to reduce the size of the WordPress database to make it more efficient, and showed two plug-ins recently to reduce the number of revisions stored for each post in the database.
But there is another area that can grow in the database if you’re not careful, and that’s the spam comments.
Whichever system you use to block spam comments (e.g. Akismet), they still stay in the database in case they were a false positive and you want to recover them, at least for a while.
Luckily there’s a simple button in WordPress to remove those comments, once you’re happy that they don’t need them. Continue reading