in a separate child view to render the count from the relationship. It renders well in the parent post table view as expected!
I expected to see: It all works, but I really need the link to pop a modal listing the child posts and not go to the Parent's content template url view. I already have a post title url in a table column, so this would be a redundant link.
How do I tweak the code to not only give a count, but to render a child post list loop "onclick" in a modal? I can style the child list as a table in the modal on my own. Thanks!
To list Child Post Types (any information of those Posts) you create a View that lists the Post Type that is Child of (...) and then you call it where ver you want.
In your case you probably want to Query Child Posts of the Post set in the ShortCode argument (just as you do now for the count)
This View can be put into a Modal, and if you are on a specific Parent Post, and pass the ID of that parent Post to your View listing Child Posts, it should display all related Child posts.
Okay. How do I get that created child list view to pop a modal from a parent post title w/link onclick? Do I put a modal javascript in View or Content Template?