Problem: I would like to create a post relationship using some criteria other than post_title, since my post titles may change later.
Solution: In wp-admin, post titles are shown for linked posts. In the database, posts are linked using post IDs. Future modifications to linked post titles will not affect the post relationship Future modification to post IDs may affect post relationships, but this type of change usually only happens during site migrations.
Problem: I have a View with a post relationship filter, but related posts aren't being displayed as expected. The View is placed in the post content of the parent post type, which is then displayed in an Essential Grid.
Solution: Set the post relationship filter to respond to a shortcode attribute "wpvrelatedto", and place the post ID in the View shortcode attribute "wpvrelatedto".
Problem:
With Types 2 relationships it was possible to assign translations of child posts to different parent posts (that were not translations of each other), but this no longer seems possible with Types 3.
Solution:
With Types 2 relationships it was necessary to manually assign translations of child posts to parent posts.
In Types 3 this is handled automatically, but it means that it is no longer possible to separate which child post translations are assigned to which parent post translations.
Problem: I have two post types in a parent / child post relationship. I would like to relate a parent post to another parent post, but I am unable to use post relationships or post reference fields in the same post type. How can I link these parent posts?
Solution: The simplest way is to create a custom taxonomy, and apply the same taxonomy terms to related parent posts.
Problem: I would like to use the new post relationships API to get results sorted by post date, but it doesn't appear to be working.
Solution: The new toolset_get_related_posts API doesn't currently support "date" as an option for ordering. Instead, the toolset_relationships parameters can be added to a standard WP_Query as described in the link below.