With our Pods Relationship widget, you can display related posts linked using the Pods Relationship field.
Let's say you have a website where you want to upload the details of authors as a custom post type but linked to a different post type called books.
The most important step to achieve this result is to configure your post's relationship properly.
In this tutorial, we'll be making use of the PODS plugin.
Create two Custom Post Types(Parent and child). e.g Writer and Book
Add a Relationship field type in the parent CPT and select the child CPT in the Related To field. e.g Book
Design a custom template to display your parent post.
In the section where you want to display the relational data, add the Dynamic Pods relationship.
โ
5. You can also use the Dynamic Posts widget.
Navigate to Query.
Select Pods Relationship in Query Type.
Type the name of the PODS relationship in the PODS Relationship FIeld.
โ