Linux 软件免费装
Banner图

Jupa - Post Type Field for Contact Form 7

开发者 jupa8
更新时间 2026年9月4日 03:04
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

contact form 7 post type dropdown checkbox radio button

下载

1.0.0

详情介绍:

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 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.

升级注意事项:

1.0.0 Initial release.

常见问题:

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.

更新日志:

1.0.0