Services
$post_type ="page"; //page, or custom_post_type $post_status = "any"; //published, draft, etc $num_of_posts = -1; // -1 for all, or amount # to return $post_parent = 128; //0 for parents, or and id $args = array('post_parent' => $post_parent, 'post_type' => $post_type, 'numberposts' => $num_of_posts, 'post_status' => $post_status, 'orderby' => 'menu_order', 'order' => 'ASC'); $parents = get_children($args); foreach ($parents as $parent) { $postid = $parent->ID; echo "";
echo "" . get_the_post_thumbnail($postid, 'large') . "
";
}
?>


; ?>/wp-content/uploads/sites/12/2019/12/facebook.png)
; ?>/wp-content/uploads/sites/12/2019/12//twitter.png)
; ?>/wp-content/uploads/sites/12/2019/12/linkedin.png)