wp-posts-to-posts icon indicating copy to clipboard operation
wp-posts-to-posts copied to clipboard

i need to list all available connected posts

Open nicmare opened this issue 11 years ago • 3 comments

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?

nicmare avatar Aug 14 '13 13:08 nicmare

@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

landwire avatar Feb 26 '14 09:02 landwire

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

nicmare avatar Feb 26 '14 09:02 nicmare

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

platzhersh avatar Feb 05 '15 16:02 platzhersh