Posts to Posts is a plugin created by Scribu that creates one-to-one relationships between WordPress posts and users. It can be downloaded from the official WordPress Plugin Directory or from GitHub. Updates can be found on his website.

learn more… | top users | synonyms

0
votes
0answers
26 views

Plugin: Posts 2 Posts problems with private posts

I'm trying to connect two private posts to each other and it doesn't work! but the same code work correctly for other published posts. Even if i connect a published post to a private post, in ...
1
vote
0answers
26 views

Posts-to-Posts: Retrieving a list of connected posts based on a single post ID

In attempting a custom Query using P2P's query vars I'm struggling to get anything back that makes sense. My end goal is a list of videos that are connected to a single event. My connection: ...
0
votes
0answers
39 views

How to dynamically filter the results in the Admin Box

I'm using P2P to link two CPT. I already connected the two CPT but the default admin box can't fit my needs. Imagine this scenario: CPT 1 have a custom field of YES or NO choice (0 or 1 in database) ...
0
votes
0answers
42 views

Make 'Post 2 Post' Connection mandatory

As the title states, I need to make a P2P connection a required field when creating new posts. The only mention of such a feature that I've found is here, but I'm not sure how to implement it.
0
votes
1answer
40 views

Combine the results of two loops

I currently have these 2 loops running on a single page $related = p2p_type( 'artist_to_song' )->my_get_related( get_queried_object() ); $features = p2p_type( 'song_to_feature' ...
0
votes
0answers
42 views

Rewrite CPT permalinks with 'Post 2 Posts' connection

I have 2 CPTs titled 'Songs' & 'Artists' that are connected (Artists → Songs) via Posts to Posts Currently, the permalink structure for 'Songs' is www.my-site.com/songs/%postname% What I would ...
0
votes
0answers
11 views

Is it possible to list non-empty connection_type(s) of a object?

I checked the documentation and did some research, of course, but I did not find what I'm looking for. I'm testing Posts2Posts plugin in a project. As I need a lot a interconnections between pages ...
0
votes
0answers
42 views

How to get meta field information from a CPT connected by a Posts2Posts connection

Here's what I'm trying to do. I have two custom post types, vendors and products. These are connected, via the Posts2Posts plugin. A vendor post has various meta fields associated with it including ...
2
votes
1answer
140 views

Ordering Post 2 Post admin meta box by meta from CPT

I've just started using Posts 2 Posts (brilliant plugin by the way) in combination with a custom post type called "Artist" and the WP Event Manager Plugin. My aim is to use P2P to link Artists to ...
1
vote
2answers
340 views

posts2posts query using connected_items array issue

My setup is as follows I hava a custom post type named 'events' and a custom post type named 'genres' which I link with scribu's Posts2Posts plugin. Each event can have multiple genres linked to it. ...
0
votes
1answer
120 views

“Database error” with Posts 2 Posts plugin: conflict with nextGEN gallery plugin?

I'm using WP 3.6 and Posts 2 Posts plugin 1.6.2. I have one main CPT called 'participant' which is connected to 2 other CPTs called 'event' and 'group'. When viewing a particular 'participant' post, I ...
0
votes
2answers
134 views

Posts 2 Posts - Filtering site search with connected post types

I would like to utilise the WordPress search facility to create the site search. Once the search has been complete I would then like to be able to filter it down based on the posts 2 posts ...
1
vote
0answers
78 views

Post 2 Post Site Search

I'm trying to filter search terms bases on categorisation created by posts 2 posts. I'm using the generic site search and then I've created a search filter function my_filter_the_search($query){ ...
1
vote
1answer
237 views

Post 2 Post: Getting connected 'person' from post author

I am using the amazing P2P plugin (many thanks Scribu!) and I am having an issue that is probably right in front of my face but I just can't see. I have a 'People' as CPT and I have connected that ...
3
votes
1answer
238 views

each_connected in wp_user_query with Scribu's Posts to Posts Plugin - Alternative method?

I have been using Scribu's Posts to Posts plugin for some time, and it has served me well. I have read the full wiki and issues list, but can't find any definitive answer if there is a clean way to ...
4
votes
6answers
1k views

Creating relationships between multiple content types

I'm working on a site where there are multiple content types in addition to the built-in ones (see list below). I'd like to establish the ability to mark related content in any direction, from any ...
0
votes
0answers
246 views

Posts 2 Posts: Pagination for connected posts on single post template

I'm using Posts 2 Posts with The Events Calendar plugin. I've made a connection for events and posts. This way the site can display the Event details and blog posts about the upcoming event under it. ...
1
vote
0answers
142 views

posts-2-posts embedding post title of connected posts

I'm trying to create a default title for all the posts that are created, the title is generated by a couple of things, such as the post fields. I was able to write code for getting the post fields ...
2
votes
2answers
288 views

Allow User to Edit Page Based on their Email

Quick Info I am using the Posts 2 Posts plugin in order to create a relation between Teachers and the Classes they teach. The teacher's page is a custom post type of faculty in which teachers are ...
0
votes
1answer
56 views

Registering dependency on 'wp-posts-to-posts' from a custom plugin

I have custom plugin which registers multiple CPT's and i want to reuse the features of wp-posts-to-posts to define relationships. I'm just wondering what is the correct/best way to include the ...
0
votes
1answer
504 views

Adding a Custom Field to be used by Posts 2 Posts

I'm trying using Gravity Forms and allow for a user to submit a post to my CPT, and choose an optional Connected Post Type. I have two CPTs, CPT1 and CPT2. When they're viewing my form for creating ...
2
votes
2answers
320 views

Connecting a taxonomy with a post type

The setup: custom post type of 'attorney' custom taxonomy of 'specialty', which is registered against the 'attorney' post type custom post type of 'practice-area' For every specialty, there is ...
0
votes
1answer
105 views

Posts 2 Posts Plugin : error message everywhere

Just upgraded to the last version of Posts 2 Posts plugin (I have the last WP version too) and I have the following error message on every dashboard page : « Warning: Connection types without a ...
0
votes
1answer
650 views

Posts 2 Posts: query connected — orderby problem

Using Posts 2 Posts plugin I've created 'piece', 'person' and 'collection' custom post types: any piece may be connected to person (with roles 'author', 'conductor' etc) and collection. Now the ...
0
votes
2answers
183 views

Posts 2 Posts plugin: best way to change connection field value?

I have started to use posts-to-posts plugin by scribu, and now I need to change vaues for connection fields. Particularly, I've created 'person' and 'piece', connection 'role' in between and defined ...
0
votes
1answer
155 views

How to show multiple attachements together with Scribu's Posts 2 Posts connector?

I am using Scribu's Posts 2 Posts plugin to connect posts with small galleries attached to an album post type. Everything works great, except that I cannot figure out how to merge the attachments to ...
0
votes
1answer
136 views

Plugin Posts 2 Posts : problems with the 'position' field

I must be a bit slow, I still have problems with the position field in the Posts-2-Posts plugin. If I set a position to each connection in a given post (say 1, 2 and 3) I don't understand how to ...
1
vote
1answer
324 views

[Plugin: Posts 2 Posts] Controling the display order of connections

My question resembles one I asked before: [Plugin: Posts 2 Posts] Changing display order of connections But now I want to display the connection in the SAME order I created them ! That is, if I ...
3
votes
1answer
631 views

How to programmatically create a connection with [Plugin: Posts 2 Posts] on cpt publish?

How can I programmatically create a connection between one custom post type, cpt, (with post id known) to another on cpt on publish? I am using VoodooPress's front-end posting method to publish a ...
1
vote
3answers
234 views

display order of connections

Is there a way to control the order in which connections are displayed ? I've got a Articles => Books connection so that in each article I can quote a number of books. I want to display the quoted ...
2
votes
1answer
1k views

[Plugin: Posts 2 Posts] How does it work?

I recently discovered Scribu's Posts 2 Posts plugin, which seems to be exactly what I was looking for in order to connect pages and posts for a big editorial website. But I cannot get it to work, ...
5
votes
1answer
2k views

How Do I Use The Wordpress Plugin Posts 2 Posts by Scribu?

I have a Wordpress site that relies on relationships quite heavily. It's a record label website where artists can be related to tours, reviews, album releases and store items throughout the site. I ...
0
votes
1answer
1k views

Getting Post ID from slug during init

I am trying to add a url rewrite rule that finds any posts that are connected to the current post (using Posts 2 Posts by scribu). It's tied into the WP Query object, so all I have to do is pass ...