Jupa – Post Type Field for Contact Form 7

説明

Jupa – Post Type Field for Contact Form 7 adds three new field types to Contact Form 7: a drop-down menu, a group of checkboxes, and a group of radio buttons. Each one is automatically filled with the titles of posts from any post type you choose (posts, pages, products, or any custom post type registered on your site).

This is useful when you want visitors to pick from a list that already exists in your content, such as choosing a location, category page, product, or any other custom post type entry, without maintaining that list by hand inside the form.

Features

  • Three form-tag types: drop-down menu, checkboxes, and radio buttons.
  • Works with any public post type, including custom post types.
  • Choose the ordering (orderby and order) of the listed posts.
  • Limit how many posts are shown, or show all of them.
  • Full integration with the Contact Form 7 tag generator (visual UI, no manual tag writing required).
  • Supports the standard id: and class: tag options, the same way native Contact Form 7 fields do.
  • Supports required-field validation.

Usage

  1. Edit a Contact Form 7 form.
  2. Open the “Insert form-tag” menu and choose one of “posts drop-down menu”, “posts checkboxes”, or “posts radio buttons” (they appear at the end of the list).
  3. Select the post type to pull posts from, the sort order, and (optionally) how many posts to show.
  4. Insert the tag and save the form.

スクリーンショット

インストール

  1. Make sure Contact Form 7 is installed and active.
  2. Upload the plugin files to the /wp-content/plugins/jupa-post-type-field-for-contact-form-7 directory, or install the plugin through the WordPress plugins screen directly.
  3. Activate the plugin through the “Plugins” screen in WordPress.
  4. Edit any Contact Form 7 form and use the new field types from the tag generator.

FAQ

Does this plugin work without Contact Form 7?

No. This plugin only adds new field types to Contact Form 7 and has no effect if Contact Form 7 is not installed and active.

Can I use it with custom post types?

Yes. Any public post type registered on your site (including ones added by other plugins, such as WooCommerce products) is available from the post type selector.

Does it show unpublished posts?

No, only published posts are listed.

What value gets submitted, the post title or the post ID?

The post title is used as the submitted value, so form notifications and stored submissions show a readable name instead of a numeric ID.

評価

このプラグインにはレビューがありません。

貢献者と開発者

Jupa – Post Type Field for Contact Form 7 はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Jupa – Post Type Field for Contact Form 7” は3ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Jupa – Post Type Field for Contact Form 7” をあなたの言語に翻訳しましょう。

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

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

変更履歴

1.0.1

  • Added screenshots to the readme.

1.0.0

  • Initial release. Adds drop-down, checkbox, and radio button field types populated from posts, with tag generator support for all three.