Title: ModalContact (MCF)
Author: batasoy
Published: <strong>2010 年 3 月 29 日</strong>
Last modified: 2010 年 3 月 30 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/modalcontact.svg)

# ModalContact (MCF)

 作者：[batasoy](https://profiles.wordpress.org/batasoy/)

[下载](https://downloads.wordpress.org/plugin/modalcontact.1.1.zip)

 * [详情](https://cn.wordpress.org/plugins/modalcontact/#description)
 * [评价](https://cn.wordpress.org/plugins/modalcontact/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/modalcontact/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/modalcontact/#developers)

 [支持](https://wordpress.org/support/plugin/modalcontact/)

## 描述

ModalContact is a database based contact form: it does use WP database for storage,
instead of mailing form contents. The rationale is, sometimes, especially cheap 
hosting servers can be very restrictive. Most contact form plugins have issues with
these servers.

Besides this approach, as its name suggests, ModalContact has a modal form, so user
does not have to leave the page. Contact Form pop ups on a overlay, just like the
lightboxes.

This plugin is heavily based on work from Eric Martin, SimpleModal Contact Form.

_Translations_

Since this plugin is heavily based on SMCF, you can easily translate it (if it has
a SMCF translation in your language). .pot file is included.

Thank you to all who have contributed these translations.

## 屏幕截图

 * [[
 * Message Backend
 * [[
 * Contact Form

## 安装

Activate as any other plugin.

You have 3 options to integrate form into your site:

a) Add the “mcf-link” to your existing contact link:

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

b) Use the “mcf()” function in one of your theme files (`sidebar.php`, for example):

    ```
    <?php if (function_exists('mcf')) : ?>
        <?php mcf(); ?>
    <?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 MCF Options under “Contact Link Title”
and MCF will automatically attempt to add the smcf-link class for that link.

## 常见问题

  How do I change the styling of the contact form?

Open `modal-contact-form-smcf/css/mcf.css` and modify the CSS to fit your needs.

_Note_: There are some browser specific CSS values that are set in the JavaScript(`
modal-contact-form-mcf/js/mcf.js`).

  Can I run MCF and SMCF at the same time?

You should be, but I didnt tried that. And it doesnt make sense!

## 评价

此插件暂无评价。

## 贡献者及开发者

「ModalContact (MCF)」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ batasoy ](https://profiles.wordpress.org/batasoy/)

[帮助将「ModalContact (MCF)」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/modalcontact)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/modalcontact/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/modalcontact/)，或通过[RSS](https://plugins.trac.wordpress.org/log/modalcontact/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/modalcontact/)。

## 更新日志

 * Version 1.0a
    - Initial release

## 额外信息

 *  版本 **1.1**
 *  最后更新：**16 年前**
 *  活跃安装数量 **10+**
 *  已测试的最高版本为 **2.9.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/modalcontact/)
 * 标签
 * [ajax](https://cn.wordpress.org/plugins/tags/ajax/)[contact](https://cn.wordpress.org/plugins/tags/contact/)
   [contact form](https://cn.wordpress.org/plugins/tags/contact-form/)[modal](https://cn.wordpress.org/plugins/tags/modal/)
 *  [高级视图](https://cn.wordpress.org/plugins/modalcontact/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/modalcontact/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/modalcontact/reviews/)

## 贡献者

 *   [ batasoy ](https://profiles.wordpress.org/batasoy/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/modalcontact/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.barisatasoy.com/donate/)