This is the BuddyForms Posts 2 Posts Integration Extension. You need the BuddyForms plugin installed for the plugin to work. <a href=https://wordpress.org/plugins/buddyforms/” target=”_blank”>Get BuddyForms now!
You need the Posts 2 Posts plugin installed for the plugin to work. For more information on Posts 2 Posts see here: https://wordpress.org/plugins/posts-to-posts/
How it Works
With BuddyForms Posts 2 Posts Integration you can create complex connections and post relationships across your site.
From posts to pages or to users all the Posts 2 Posts Plugin functionality is in your BuddyForms Form Builder available.
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.
Find out more about ‘BuddyForms Attach Posts to Groups Extension’ here: https://wordpress.org/plugins/buddyforms-attach-posts-to-groups-extension/
The Plugin creates a new form element “posts-to-posts” with 2 options for your BuddyForms FormBuilder.
from: post, page or any post type
to: post, page, user, any post type
Add Additional Parameter
Before the connection gets registered with p2p_register_connection_type($args) you can manipulate the $args with a filter.
$args = array(
‘name’ => $field[‘slug’],
‘from’ => $field[‘posts_to_posts_from’],
‘to’ => $field[‘posts_to_posts_to’]
$args = apply_filters(‘connection_types_args’, $args, $buddyform[‘slug’]);
There is documentation available for the Posts 2 Posts Plugin and all the available parameter.
Documentation & Support
You can find all help buttons in your BuddyForms Settings Panel in your WP Dashboard!
You can also create support tickets from the BuddyForms Settings Panel in your WP Dashboard!
- Installation Instructions
You can download and install BuddyForms Posts 2 Posts Integration using the built in WordPress plugin installer. If you download BuddyForms Posts 2 Posts Integration manually,
make sure it is uploaded to “/wp-content/plugins/”.
Activate BuddyForms Posts 2 Posts Integration Plugin in the “Plugins” admin panel using the “Activate” link. If you’re using WordPress Multisite, you can optionally activate BuddyForms Posts 2 Posts Integration Network Wide.
Contributors & Developers
“BuddyForms Posts 2 Posts” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
Add Freemius Integration
Fixed and issue with the dependencies check. The function tgmpa does not accepted an empty array.
Add dependencies management with tgm
Rename buddyforms_add_form_element_to_select to buddyforms_add_form_element_select_option
New option Select multiple
New option Only display posts of the logged in user in the relation select
Fixed some notice of undefined index
Only show form type related form elements
Optimise and clean up the code
add admin notice to check if all requred plugins are activated
add support for the form builder form element select
fixed smaller issues
add compatibility for the latest buddyforms version
Make it work with the latest version of BuddyForms. the BuddyForms array has changed so I adjust the code too the new structure
switch from choose to select2
change the url to buddyforms.com
changed the hook to $form_args instead of attributes