立即获取BuddyForms! p>You need the Posts 2 Posts plugin installed for the plugin to work.
您需要安装Posts 2 Posts插件才能使该插件正常工作。
For more information on Posts 2 Posts see here: https://wordpress.org/plugins/posts-to-posts/
有关帖子2帖子的更多信息,请参见此处:https://wordpress.org/plugins/posts-to-posts/ p>
How it Works
工作原理 h4>
With BuddyForms Posts 2 Posts Integration you can create complex connections and post relationships across your site.
借助BuddyForms Posts 2 Posts Integration,您可以创建复杂的连接并在整个网站中发布关系。
From posts to pages or to users all the Posts 2 Posts Plugin functionality is in your BuddyForms Form Builder available.
从帖子到页面或到用户,所有的Posts 2 Posts插件功能都在您的BuddyForms Form Builder中可用。 p>
With the ‘BuddyForms Attach Posts to Groups Extension‘ and the ‘Posts 2 Posts Plugin’ you can create groups to posts or even groups to groups relationships based on the Groups Attached Posts.
使用“ BuddyForms将帖子附加到群组扩展”和“帖子2帖子插件”,您可以基于群组附加帖子创建群组到帖子,甚至创建群组到群组的关系。 p>
Find out more about ‘BuddyForms Attach Posts to Groups Extension’ here: https://wordpress.org/plugins/buddyforms-attach-posts-to-groups-extension/
在此处找到有关“ BuddyForms将帖子附加到群组扩展”的更多信息:https://wordpress.org/plugins/buddyforms-attach-posts-to-groups-extension/ p>
Form Elements
表单元素 h4>
p>
The Plugin creates a new form element “posts-to-posts” with 2 options for your BuddyForms FormBuilder.
该插件为您的BuddyForms FormBuilder创建一个带有两个选项的新表单元素“ posts-to-posts”。 p>
from: post, page or any post type
来自:帖子,页面或任何帖子类型
to: post, page, user, any post type
到:帖子,页面,用户,任何帖子类型 p>
Add Additional Parameter
添加其他参数 h4>
Before the connection gets registered with p2p_register_connection_type($args) you can manipulate the $args with a filter.
在使用p2p_register_connection_type($ args)注册连接之前,您可以使用过滤器操作$ args。 p>
$args = array(
$ args = array(
‘name’ => $field[‘slug’],
‘name’=> $ field [‘slug’],
‘from’ => $field[‘posts_to_posts_from’],
‘from’=> $ field [‘posts_to_posts_from’],
‘to’ => $field[‘posts_to_posts_to’]
‘to’=> $ field [‘posts_to_posts_to’]
);
);
$args = apply_filters(‘connection_types_args’, $args, $buddyform[‘slug’]);
$ args = apply_filters('connection_types_args',$ args,$ buddyform ['slug']); p>
There is documentation available for the Posts 2 Posts Plugin and all the available parameter.
有关Posts 2 Posts插件和所有可用参数的文档可用。 p>
http://github.com/scribu/wp-posts-to-posts/wiki
http://github.com/scribu/wp-posts-to-posts/wiki p>
Documentation & Support
文档与支持 h3>
You can find all help buttons in your BuddyForms Settings Panel in your WP Dashboard!
您可以在WP仪表板的BuddyForms设置面板中找到所有帮助按钮! p>
Documentation
文档
http://docs.buddyforms.com
http://docs.buddyforms.com p>
Support Tickets
支持票
You can also create support tickets from the BuddyForms Settings Panel in your WP Dashboard!
您还可以从WP仪表板的BuddyForms设置面板中创建支持票证! p>