Question displaying child and parent posts
-
I am currently using the plugin to display the child posts of a custom post type called ‘notes.’
The main, parent post in question has two child posts. The shortcode successfully displays posts when both child posts are made children of the same parent. Is there also a way to display all child posts when the second child is actually made the child of the first child? In this case the hierarchical tree would be staggered and not uniform. I cannot get this setup to display.
Also, I would like each of the two child post to display their parent; but again, I have looked into this and cannot see what code to use. Thank you for any help that you can provide. I appreciate it.
Here is the shortcode I am currently using.
[display-posts post_type=”notes” title=”Read more in the sequel post/s:” post_parent=”current” include_date=”true” date_format=”F j, Y” order=”ASC”]
- The topic ‘Question displaying child and parent posts’ is closed to new replies.