[Plugin: Posts 2 Posts] Connecting post variations and reviews
-
This is a great plugin which has enabled me to link reviews (custom post type) to books (custom post type) on my website as seen below:
function my_connection_types() { if ( !function_exists( 'p2p_register_connection_type' ) ) return; p2p_register_connection_type( array( 'name' => 'reviews_to_books', 'from' => 'review', 'to' => 'books', 'admin_column' => 'any' ) ); } add_action( 'wp_loaded', 'my_connection_types' );
However I have some books in different formats (paperback, hardback, ebook) which have a lot of identical information and need to share reviews.
How do I create links between the same books in different formats to share reviews or do I even need to create multiple posts? I need to make it simple enough so that when a user submits a review for a book that it appears on all other books (in different formats) that are connected to it.
Any help would be greatly appreciated.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘[Plugin: Posts 2 Posts] Connecting post variations and reviews’ is closed to new replies.