Editing the WordPress Simplemodal Plugin

Changing the contact form display on your website

Open simplemodal-contact-form-smcf/smcf.php

Find function footer() and change the html contained in this function to achieve the look you want for your contact form.

I am using one of these forms as a newsletter sign up form on one of my websites, all I needed was a name and email input box, as well as a message describing the purpose of this form. This was therefore achieved by editing the file mentioned above.

Changing the Email sent back to you

In order to change the wording and contents of the email that gets sent to you, open

simplemodal-contact-form-smcf/smcf_data.php

and look for function sendEmail()

Make the adjustments as necessary, and test it out.

Related posts:

  1. Notes on WordPress Plugin Development
  2. WordPress Comment Form Validation
  3. Best WordPress Guestbook Plugin
  4. Best WordPress Contact Form Plugin
  5. WordPress 3 Front End Editing Plugin

2 Comments

Got something to say? Feel free, I want to hear from you! Leave a Comment

  1. Wow just found this page really by mistake looking for something else. You have a nice blog and some interesting information, will check back soon.

  2. brandon says:

    I can’t seem to delete the message field correctly.
    I was hoping to use it as a newsletter sign up as well.

Leave a Comment

Let us know your thoughts on this post but remember to place nicely folks!