Title: [Plugin: Posts 2 Posts] Connection using post metavalue
Last modified: August 20, 2016

---

# [Plugin: Posts 2 Posts] Connection using post metavalue

 *  [eliawk](https://wordpress.org/support/users/eliawk/)
 * (@eliawk)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-connection-using-post-metavalue/)
 * Hi,
    is it possible to connect a post to a custom post type using a value of 
   a custom field of the custom post type? is it also possible to search by the 
   custom post field and show the title of the custom post?
 * thanks
    elia
 * [http://wordpress.org/extend/plugins/posts-to-posts/](http://wordpress.org/extend/plugins/posts-to-posts/)

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

 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-connection-using-post-metavalue/#post-2509190)
 * I don’t understand what you mean by “connect a post to a custom post type _using
   a value of a custom field_“. Could you give an example?
 *  Thread Starter [eliawk](https://wordpress.org/support/users/eliawk/)
 * (@eliawk)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-connection-using-post-metavalue/#post-2509192)
 * thanks for your reply.
    i want to connect a post to a custom post type (book)
   with custom field “isbn code”.
 * because is it possible the book id will change i’d like to connect the 2 objets
   by the isbn code. and if is it possible it would be fantastic to insert the isbn
   code and get the title of the book i want associate!
 * thanks
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-connection-using-post-metavalue/#post-2509196)
 * Sorry, but Posts 2 Posts does not work like that. It needs IDs.
 * But if the ID changes, then the ISBN code would also be lost, since custom fields
   are tied to posts using IDs as well. I recommend you revise your strategy.
 *  [raj786](https://wordpress.org/support/users/raj786/)
 * (@raj786)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-connection-using-post-metavalue/#post-2509256)
 * Hi scribu, i need an urgent help from you, plz help me ASAP
 * i am using this plugin and it works great as i want…
    i have 2 posts types 1 
   is businesses and the 2nd is product…i have created a posts to posts connection
   using this plugin…
 * now i want my front end user to add products and i want them to show a connection
   for post type business to select from the list…
 * how i can enable the connection box on front end template for user!!!
 * kindly help me in this regard
 * thanks
    raj
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-connection-using-post-metavalue/#post-2509263)
 * [@raj786](https://wordpress.org/support/users/raj786/): Please don’t hijack other
   threads. I responded in your original thread:
 * [http://wordpress.org/support/topic/plugin-posts-2-posts-front-end-connection-filed-display](http://wordpress.org/support/topic/plugin-posts-2-posts-front-end-connection-filed-display)

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

The topic ‘[Plugin: Posts 2 Posts] Connection using post metavalue’ 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/)

 * 5 replies
 * 3 participants
 * Last reply from: [scribu](https://wordpress.org/support/users/scribu/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-connection-using-post-metavalue/#post-2509263)
 * Status: not resolved