=== Posts 2 Posts === Contributors: scribu Donate link: http://scribu.net/paypal Tags: cms, custom post types, relationships, many-to-many Requires at least: 3.0 Tested up to: 3.0 Stable tag: 0.3 Create connections between posts == Description == This plugin allows you to create relationships between posts of different types. The relationships are stored in a hidden taxonomy. To register a connection type, add this code in your theme's functions.php file: ` function my_connection_types() { if ( !function_exists('p2p_register_connection_type') ) return; p2p_register_connection_type('book', 'author'); p2p_register_connection_type('library', 'book'); } add_action('init', 'my_connection_types', 100); `
Links: [API](http://plugins.trac.wordpress.org/browser/posts-to-posts/tags/0.3/api.php) | [Plugin News](http://scribu.net/wordpress/posts-to-posts) | [Author's Site](http://scribu.net) == Installation == You can either install it automatically from the WordPress admin, or do it manually: 1. Unzip the "Posts 2 Posts" archive and put the folder into your plugins folder (/wp-content/plugins/). 1. Activate the plugin from the Plugins menu. == Frequently Asked Questions == = Error on activation: "Parse error: syntax error, unexpected..." = Make sure your host is running PHP 5. The only foolproof way to do this is to add this line to wp-config.php: `var_dump(PHP_VERSION);`
== Screenshots == 1. The metabox on the post editing screen == Changelog == = 0.3 = * store connections using a taxonomy instead of postmeta * [more info](http://scribu.net/wordpress/posts-to-posts/p2p-0-3.html) = 0.2 = * UI that supports multiple related posts. props [Patrik Bón](http://www.mrhead.sk/) * added p2p_list_connected() template tag * [more info](http://scribu.net/wordpress/posts-to-posts/p2p-0-2.html) = 0.1 = * initial release * [more info](http://scribu.net/wordpress/posts-to-posts/p2p-0-1.html)