Title: [Plugin: Posts 2 Posts] Post2post with Event Espresso
Last modified: August 20, 2016

---

# [Plugin: Posts 2 Posts] Post2post with Event Espresso

 *  [aaron@rossano.com.au](https://wordpress.org/support/users/aaronrossanocomau/)
 * (@aaronrossanocomau)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-post2post-with-event-espresso/)
 * Hi,
    I’m interested in setting up a relationship between events using Event Espresso,
   so I can list related events on my event. is that possible using post2post?
 * This is how I would guess I would setup the relationship. But how do I get the
   relationship admin box to come up?
    p2p_register_connection_type( array( ‘name’
   => ‘eventespresso_to_eventespresso’, ‘from’ => ‘eventespresso’, ‘to’ => ‘eventespresso’,‘
   admin_column’ => ‘any’, ‘cardinality’ => ‘many-to-many’ // ) );
 * [http://wordpress.org/extend/plugins/posts-to-posts/](http://wordpress.org/extend/plugins/posts-to-posts/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [aaron@rossano.com.au](https://wordpress.org/support/users/aaronrossanocomau/)
 * (@aaronrossanocomau)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-post2post-with-event-espresso/#post-3110980)
 * I’ve noticed that I can turn on the custom post types from the template options.
   But when I create a post using the event section, it doesn’t have any of the 
   options of the ones I create from the event espresso section and it doesn’t have
   the post2post admin box for the relationship after setting the relationship up
   for custom post type: espresso_event
 *  Thread Starter [aaron@rossano.com.au](https://wordpress.org/support/users/aaronrossanocomau/)
 * (@aaronrossanocomau)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-post2post-with-event-espresso/#post-3111152)
 * i think i got it.
    event espresso > template settings > use custom post types
   feature = yes i still haven’t properly tested, but managed to get two events 
   in relationship. trying to get the templates working now which will allow me 
   to test if the relationship on the front end works smoothly. p2p_register_connection_type(
   array( ‘name’ => ‘espresso_event_to_espresso_event’, ‘from’ => ‘espresso_event’,‘
   to’ => ‘espresso_event’, ‘reciprocal’ => true, ‘admin_column’ => ‘any’, ‘cardinality’
   => ‘many-to-many’ // ) );

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Posts 2 Posts] Post2post with Event Espresso’ 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/)

 * 2 replies
 * 1 participant
 * Last reply from: [aaron@rossano.com.au](https://wordpress.org/support/users/aaronrossanocomau/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-post2post-with-event-espresso/#post-3111152)
 * Status: not resolved