このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Contact Form 7 Customfield in mail

説明

Contact Form 7 is an awesome WordPress plugin that provides all sorts of great features for creating Contact Forms.
I’ve used it on a lot of sites with great succes.

One thing it doesn’t handle though, are customfields.
With this plug in you can now use customfields in the mail section of Contact Form 7!

I created this plug-in because I had the need to use the same contact form on numerous places but the email adresses needed to be diffrent for all of them.
(I was using it to create a showcase website in wich visitors are able to contact the creator of the work/art, without showing the full email adress)

What you could do with this might include:

  • Use the same contact form in different posts/pages
  • Send custom field values in the email

There are many more case-specific examples. I searched for a solution, but there was none to be found.
This plugin provides an elegant solution that leaves the Contact Form 7 Plugin intact.

WHAT DOES IT DO?

This plugin provides a new special mail tag for the mail section of the Contact Form 7 Plugin. It allows you to get custom field values in the mail section of Contact Form 7

HOW TO USE IT

After installing and activating the plugin, you should use it like the following:

Double underscores are key!

The plug in recognizes a new special mail tag:
[_customfield]

The tag alone doesn’t work though!
You need to add two underscores after the tag:
[_customfield__]

After this you can enter your custom field key i.e.:
[_customfield__fieldName]

NOTE

Multiple values per key (an array) are converted to a comma separated string.

スクリーンショット

  • An example of how to use it

インストール

This section describes how to install the plugin and get it working.

  1. Install the Contact Form 7 Plugin
  2. Install this Plugin
  3. It will now work!

FAQ

None. Yet.

貢献者と開発者

Contact Form 7 Customfield in mail はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Contact Form 7 Customfield in mail” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

None so far.