WordPress.org

Ready to get started?Download WordPress

Plugin Directory

SimpleModal Contact Form (SMCF)

SimpleModal Contact Form (SMCF) is an Ajax powered modal contact form. It utilizes the jQuery JavaScript library and the SimpleModal jQuery plugin.

Requirements:

  • PHP mail()
  • jQuery 1.3 or greater

Steps:

  1. Unzip SMCF archive and put all files/folders into your "plugins" folder (/wp-content/plugins/). You should end up with /wp-content/plugins/simplemodal-contact-form-smcf/.
  2. Activate the plugin (WordPress Admin > Plugins > Click "Activate" for "SimpleModal Contact Form (SMCF)")
  3. Set the desired options (Admin Dashboard > Settings > SimpleModal Contact Form)
  4. Enable SMCF on your site! SMCF works by looking for links (HTML A elements) with a class of "smcf-link". See below:

You have 4 options:

a) Add the "smcf-link" to your existing (or new) contact link:

<a href="/contact" class="smcf-link">Contact</a>

b) Use the "smcf()" function in one of your theme files (sidebar.php, for example):

<?php if (function_exists('smcf')) : ?>
    <?php smcf(); ?>
<?php endif; ?>

c) If your contact link is generated using wp_page_menu() or wp_list_pages(), you can enter the contact link title in the SMCF Options under "Contact Link Title" and SMCF will automatically attempt to add the smcf-link class for that link.

d) If you are using the WordPress Menus (Admin > Appearance > Menus) feature, you'll need to perform the following steps to manually add the necessary CSS class to the Menu item that you want to trigger SimpleModal Contact Form:

  1. On the Menus screen, click the 'Screen Options' link on the top right. In the "drop down", select 'CSS Classes' under 'Show advanced menu properties'.
  2. Now, for the link you want to use to trigger SimpleModal Contact Form, enter smcf-link under 'CSS Classes (optional)'.
  3. That Menu item should trigger SimpleModal Contact Form when clicked!

Requires: ? or higher
Compatible up to: 3.4.2
Last Updated: 2012-9-8
Downloads: 142,743

Ratings

3 stars
3.8 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,2,2
75,4,3
100,1,1 67,3,2
75,8,6
61,18,11
100,5,5
80,10,8
100,1,1
67,3,2
100,2,2
100,1,1 100,3,3
100,3,3 100,4,4
67,3,2
100,3,3
100,2,2
100,1,1
100,1,1
13,8,1 100,1,1
0,2,0 75,4,3
56,9,5
67,3,2
0,1,0
100,1,1 80,5,4
100,1,1
0,1,0
100,1,1
100,1,1