Title: [Plugin: Posts 2 Posts] Post 2 Post not working
Last modified: August 20, 2016

---

# [Plugin: Posts 2 Posts] Post 2 Post not working

 *  [Romantic-Boy](https://wordpress.org/support/users/romantic-boy/)
 * (@romantic-boy)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-post-2-post-not-working/)
 * Hi guy!
    I action plugin and dd code below in “function.php” But Admin area and
   Post edit not display anything. `function my_connection_types() { // Make sure
   the Posts 2 Posts plugin is active. if ( !function_exists( ‘p2p_register_connection_type’))
   return;
 *  p2p_register_connection_type( array(
    ‘name’ => ‘posts_to_pages’, ‘from’ => ‘
   post’, ‘to’ => ‘page’ ) ); } add_action( ‘wp_loaded’, ‘my_connection_types’ );
 * [http://wordpress.org/extend/plugins/posts-to-posts/](http://wordpress.org/extend/plugins/posts-to-posts/)

The topic ‘[Plugin: Posts 2 Posts] Post 2 Post not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/posts-to-posts_7a8e9d.svg)
 * [Posts 2 Posts](https://wordpress.org/plugins/posts-to-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/posts-to-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/posts-to-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/posts-to-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/posts-to-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/posts-to-posts/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Romantic-Boy](https://wordpress.org/support/users/romantic-boy/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-post-2-post-not-working/)
 * Status: not resolved