How to Configure Contact Form 7 on WordPress So that You Can Get Messages without Getting Spammed

Having a contact form for your blog is essential for you to get feedback from your visitors without getting spammed. One plugin that does this is Contact Form 7.

Setting up Contact Form 7 was a bit trickier than I anticipated. I found this video on YouTube that did a great job of helping.

One thing I learned is always remember to scroll down while working in WordPress. There may be commands and settings that you are missing.

Please note, the author of the video has provided it in order to advertise his product. I have not used his product and have no opinion on his product.

Raw HTML Plugin – What to Use When You Want to Write HTML and Shortcode Examples in Your WordPress Post

In my last post, I used a lot of code examples in HTML, WordPress’ Shortcode, and the WordPress Video Plugin’s codes. If you have ever tried this before, you quickly realize that WordPress will immediately process the code as actual code that you want to implement, making the text that are your examples disappear, and actually implementing them. This is extremely frustrating.

For example, I just wanted to post the general format for the code to embed a youtube video useing the WordPress Video Plugin:

[youtube id]

Instead, I got this:

As you can see, WordPress immediately implemented the code.

How do you stop this?

Install the Raw HTML Plugin.

After you install the Raw HTML Plugin, if you want to have the code not get implemented, enclose that code in raw tags:

[raw] your code [/raw]

Now, there are at least two catches to this.

Catch Number 1: You cannot type brackets(such as [] or <>) inside the raw tags. Instead, you need to use HTML Entities (sometimes referred to as special characters – you can find a good list here).

To actually make the code above appear on the screen and not get implemented, for:

&#91;youtube id&#93;

I actually typed:

&amp;#91;youtube id&amp;#93;

Catch Number 2: Do not use the “Visual” tab when editing your post. If you do, all of the entities that you carefully typed will disappear.

Raw HTML will not take care of everything for you, but it does make things much easier.

WordPress Video Plugin – the Solution to When YouTube Will Not Embed in WordPress

In my last post, I embedded a youtube video. It proved to be surprisingly tricky.  I ended up having to use the WordPress Video Plugin.

One is usually supposed to use the html iframe tag to do this:

<iframe width="560" height="315" src="http://www.youtube.com/embed/-iFeC7R3Tfg" frameborder="0" allowfullscreen></iframe>

or a WordPress shortcode like this:

[youtube=http://www.youtube.com/embed/-iFeC7R3Tfg&w=560&h=315]

It turns out, neither of these worked. Instead, I used the WordPress Video Plugin. This is easy to do. If you know how to administrate WordPress, click on “Plugins->Add New”. Then search for “WordPress Video Plugin”. When you find it, click on “Install Now”. After it installs, click “Activate”.

After you have finished installing and activating it, in order to embed a youtube video, use the following format:

[youtube id]

where id is the identification youtube uses to uniquely identify the video.  If you look at the failed attempts above, it would be the part in bold.

[youtube=http://www.youtube.com/embed/-iFeC7R3Tfg&w=560&h=315]

Causing the use of the WordPress Video Plugin to embed the video from the last post to look like this:

[youtube -iFeC7R3Tfg]

You can find details about how to embed other videos using the WordPress Video Plugin here.