I registered a custom post type (foo) with register_post_type
, setting 'hierarchical' => true,
so now when I want to use it I have post_type=foo
.
How can I query child of foo? any ideas?
thanks!
I registered a custom post type (foo) with register_post_type
, setting 'hierarchical' => true,
so now when I want to use it I have post_type=foo
.
How can I query child of foo? any ideas?
thanks!
You must be logged in to post a comment.
You can display child pages of particular parent foo page using following code ( using parent page ID ):