• Hello everybody.
    I has custom post type “Book”. I has custom post types (parent pages) and child pages.
    I need display all posts (of my custom post type “Book”) in next view:

    Post_parent_1
    – Child_1_of_Post_Parent_1
    – Child_2_of_Post_Parent_1
    – Child_3_of_Post_Parent_1
    Post_parent_2
    – Child_1_od_Post_Parent_2
    – Child_2_od_Post_Parent_2
    – Child_3_od_Post_Parent_2
    Post_parent_3
    – Child_1_od_Post_Parent_3
    Etc
    I try wrote code, but this don’t work…

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Thanks all.

The topic ‘Custom post type. Display’ is closed to new replies.