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
2answers
14 views

Different values for get_author_posts_url and get_the_author (posts 2 posts)

Caveat- I'm not a programmer, I'm a designer that has taught myself basic php/wordpress theming. This is a very specific question, I realize, but I'm hoping the experts can help me find some ...
0
votes
1answer
19 views

Function returning queried meta value based on current post ID

I have written several queries which sums download counts grouped by the post they are associated with, and other relations. They work great for exporting to CSV and other uses outside of WordPress, ...
0
votes
0answers
57 views

Combining multiple query arguments into single query_var for permalinks

how Is it possible to combine multiple query arguments into a single query_var to be referenced in the permalink? For example, using the Posts 2 Posts plugin, it takes three query_vars to filter a ...
1
vote
1answer
60 views

Nested CPT URLs + Posts 2 Posts

I'm working on a client site that has two different custom post types: artist and portfolio. I'm using the posts-to-posts plugin to create a relationship from each artist to their portfolios. Artist ...
1
vote
0answers
98 views

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

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
1answer
68 views

Combine the results of two loops [closed]

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' ...
2
votes
1answer
214 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 ...
2
votes
2answers
753 views

posts2posts query using connected_items array issue [closed]

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. ...
1
vote
0answers
123 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
369 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
294 views

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

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
2k views

Creating relationships between multiple content types [closed]

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 ...
1
vote
0answers
192 views

posts-2-posts embedding post title of connected posts [closed]

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
327 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
70 views

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

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
662 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
383 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
115 views

Posts 2 Posts Plugin : error message everywhere [closed]

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
742 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
208 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
173 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
145 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
401 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
835 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
251 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 ...