wp-posts-to-posts
wp-posts-to-posts copied to clipboard
i need to list all available connected posts
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 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
no problem. i use iosslider script. it is great for touch devices. check it out! it comes with certain examples
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