Title: [Plugin: Posts 2 Posts] Nested connections and admin columns
Last modified: August 20, 2016

---

# [Plugin: Posts 2 Posts] Nested connections and admin columns

 *  Resolved [Manny Fleurmond](https://wordpress.org/support/users/funkatronic/)
 * (@funkatronic)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-nested-connections-and-admin-columns/)
 * How would your example of nested connections work if I’m adding an admin column
   to a post type a that lists the posts of a post type b via the connection between
   them?
 * [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 [Manny Fleurmond](https://wordpress.org/support/users/funkatronic/)
 * (@funkatronic)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-nested-connections-and-admin-columns/#post-3055696)
 * Let me clarify, since I wrote my last post in a bit of a rush: in the example
   you give for nested connections, you call `each_connected` before the loop. If
   I wanted to do my own custom column on the admin side of a custom post type that
   listed connections, which hook should I used to call `each_connected` so that
   it gets called after the query but before the loop on the admin page?
 *  Thread Starter [Manny Fleurmond](https://wordpress.org/support/users/funkatronic/)
 * (@funkatronic)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-nested-connections-and-admin-columns/#post-3055710)
 * Figured something out to make it work. Based it on your current column code.

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

The topic ‘[Plugin: Posts 2 Posts] Nested connections and admin columns’ 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/)

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)

 * 2 replies
 * 1 participant
 * Last reply from: [Manny Fleurmond](https://wordpress.org/support/users/funkatronic/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-nested-connections-and-admin-columns/#post-3055710)
 * Status: resolved