Tagged: post-relate
- This topic has 6 replies, 5 voices, and was last updated 4 years, 11 months ago by
intrepidrealist.
-
AuthorPosts
-
-
September 6, 2013 at 5:13 pm #1060
prestonMemberI was able to relate my Home and Location post types using the Piklist post-relate field type.
<?php
/*
Title: Locations
Post Type: home
Order: 10
Priority: default
Context: side
Collapse: false
*/// Let's show the Meta Box
piklist('field', array(
'type' => 'post-relate'
,'scope' => 'location'
,'template' => 'field'
));piklist('shared/code-locater', array(
'location' => __FILE__
,'type' => 'Meta Box'
));
However, this seems to only create a one-way relationship.
Adding a second meta-box file with the post types flipped shows the correct options, but the connections checked in one post do not persist to the other.
Are true two-way connections possible with post-relate? I was hoping Piklist would replace the Posts 2 Posts plugin for this purpose.
-
September 13, 2013 at 5:10 pm #1077
prestonMemberCan anyone clarify how post-relate works?
If two-way relationships are possible, I’d love to know how.
If not, is this a feature request that anyone else is looking for?
-
September 14, 2013 at 11:21 pm #1079
SteveKeymasterWe’re still finalizing this. But yes, two-way relationships will be supported.
-
October 28, 2013 at 8:20 am #1202
sanderschatMemberHi Steve,
i need your advise on this subject: two-way relationships
Will this be available in the near-near future?
or do you advice to use the ‘post2post’ plugin (or other approaches) for this?thanks!
-
October 28, 2013 at 9:08 am #1203
SteveKeymasterIf you need it in the next month or so, go with Posts2Posts. However, be aware that our approach will be different, and I don’t believe compatible with Posts2Posts.
-
February 16, 2017 at 8:21 pm #7793
ccarey75ParticipantSorry to resurrect on an old thread from 2013 but was this ever implemented? The docs are missing for this field. I had a look through the demo code and couldn’t see mention of it.
-
February 22, 2017 at 8:53 pm #7812
intrepidrealistParticipantI second this. I don’t see anything in the demos regarding related posts…
-
-
AuthorPosts
- You must be logged in to reply to this topic.