scribu / wp-posts-to-posts

Efficient many-to-many connections between posts, pages, custom post types, users.
http://wordpress.org/plugins/posts-to-posts/
975 stars 261 forks source link

i need to list all available connected posts #385

Open nicmare opened 11 years ago

nicmare commented 11 years ago

this is my site: http://my-benefit.de/bootstrap/ (user / user2009) I use post2post for the "pro vs contra" section. this is my functions code:

function my_connection_types() {
    p2p_register_connection_type( array(
        'name' => 'posts_to_posts',
        'from' => 'post',
        'to' => 'post',
        'reciprocal' => true
    ));
}
add_action( 'p2p_init', 'my_connection_types' );

this way i can link those two articles to each other. works like a charm! i get the related post on single.php

But i want to display all connected posts on home.php is there a performant way to do this?

landwire commented 10 years ago

@nicmare Sorry, this is quite unrelated, but could not find a way to send you a message on github or email directly. I like your full width post slider on http://my-benefit.de. Are you using a plugin for that? If so which one? Thanks! oder Danke! Sascha

nicmare commented 10 years ago

no problem. i use iosslider script. it is great for touch devices. check it out! it comes with certain examples

platzhersh commented 9 years ago

I know this is quite old, but did you come up with a solution yet? I would like to see all the connected posts in the wordpress admin