Linux 软件免费装
Banner图

Plugin Name

开发者 markusfroehlich
更新时间 2023年6月13日 16:11
捐献地址: 去捐款
PHP版本: 4.0 及以上
WordPress版本: 4.9.8
版权: GPLv2 or later
版权网址: 版权信息

标签

posts form contact form contact contact form 7 post fields

下载

1.0 2.2.1 2.3.1 2.3.2 2.4.1 1.1 1.2 1.4 1.5 1.6 1.7.1 1.8 1.9 2.0 2.1 2.2 1.3

详情介绍:

Contact Form 7 is a fantastic plugin for form. The post-fields extension enables you to create image drop-down-menues, checkboxes and radio-buttons based on posts or other kinds of content (custom post types). Features of post fields Required Plugin

安装:

  1. Download and install the required Contact Form 7 Plugin available at http://wordpress.org/extend/plugins/contact-form-7/
  2. Upload 'contact-form-7-post-fields' to the '/wp-content/plugins/' directory, or install the plugin through the WordPress plugins screen directly.
  3. Activate the plugin through the 'Plugins' screen in WordPress.
  4. You will now have a "posts drop-down-menu", "posts image drop-down-menu", "post checkboxes" and "post radio buttons" tag option in the Contact Form 7 tag generator.

屏幕截图:

  • The posts image drop-down-menu
  • The posts drop-down-menu
  • Post select field generator

常见问题:

Where can I find the new post fields and how can I use them?

  1. Make sure that you have installed and activated the required plugin Contact Form 7.
  2. In the menu, navigate to the item "Contact", create a new or edit an existing form.
  3. You can find 4 new fields in the tab "Form" now: "posts image drop-down-menu", "posts drop-down-menu", "post checkboxes" and "post radio buttons".

Why can't I find my own type of content (custom post type) in the list?

The only types of content displayed are those declared as public. See register post type.

How can I make my form in the front end use a standard value automatically?

This can easily be done by using $_GET or $_POST variables.

  1. In the post field shortcode, add the option "default:get" or "default:post" (instructions), e.g. [post_select post_select-1 publish default:get post-type:post value-field:title orderby:title order:DESC "%title%"]
  2. On your website, move to the form with the following $_GET parameters: http://www.yourdomain.at/contact/?field_name=post_id
If you have integrated your form into a single post template, you can use "default:current_post" to set the default value equal to the current post.

What kind of post meta keys can be used for the label?

  1. Single text meta keys
  2. Sequential arrays will be changed in a string list (comma seperated)
  3. Associative arrays are no supported

How can i style the posts image drop-down-menu?

The posts image drop-down-menu is build with the jQuery select2 libary. You can style with CSS the drop-down-menus using the class "select2" and/or "select2-container".

How can i print pretty post hyperlinks in the message body

  1. Select the "Permalink" option from the value field in the post field generator.
  2. Check the "Use HTML content type" box in the Mail setting.

I found a bug, what shall I do?

If you have found a bug in my plugin, please send me an email with a short description. I will fix the bug as soon as possible.

You like my plugin and you'd like to support me?

Thank you very much! In case you want to show how much you appreciate my work, I'd be very grateful if you could give me positive rating with Wordpress-Page and/or donate a small amount to me.

更新日志:

2.4.1 2.4.0 2.3.2 2.3.1 2.3.0 2.2.1 2.2 2.1 2.0 1.9 1.8 1.7.1 1.7 1.6 1.5 1.4 1.3 1.2 1.1 1.0