I am looking for a solution to get the latest list of custom parent posts.
Child Post A
Child Post B
Child Post C
The bold list items are the posts/pages I want to retrieve.
I want to take the last post: Child Post C
And finally, I want to get the list of the last posts of the parent category to display on the home page
example: I have the list as the image below.
I want to display in the loop in the home page
I want to display the last post in the list, only the last post.
1.Child Post A 3
2.Child Post B 3
Thanks for all the help / I used google translate tool to describe 😀
Read more here:: How to get the latest post list (of the parent custom custom type)