Problem: How to programmatically create an Org Chart. This would be based on Parent/Children CPTs.
Solution: Toolset does not have any such feature to create an organizational chart, this will require pure custom coding apart from listing the parent/child posts. Below are some hints:
1. First you will need to create relationship between parent/child posts and set them as one-to-many relationships.
2. And then display the relational data on a page using Views, both these are explained here in detail: https://toolset.com/documentation/beyond-the-basics/post-relationship-concepts/implementing-one-to-many-relationships/
3. After that you will need to style the relational data using pure html and css. Like its built here as examples (the sample code is also provided here): https://codepen.io/danyadsmith/pen/yNpqav https://bootsnipp.com/snippets/eN3Q8
The forum ‘Types Community Support’ is closed to new topics and replies.