0

Is there a way I can list all posts in a specific parent terms under child term with 5 post list.

For example;

parent terms (specific By id or slug)

  • Child term Name
    • post Title
    • post Title
    • post Title
    • post Title
    • post Title
  • Child term Name

    • post Title
    • post Title
    • post Title
    • post Title
    • post Title

Please Help Me...

This is My Custom Category (Terms)

I want to Show just this thing

0

Please try with the wordpress in build function

get_page_hierarchy( $posts, $parent )

Reference URL : https://codex.wordpress.org/Function_Reference/get_page_hierarchy

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.