‘page’,
‘post_status’ => ‘publish’,
‘post_parent’ => $post->ID,
);
$attachments = get_posts($args);
if ($attachments) {
foreach ($attachments as $post) { ?>
‘post_status’ => ‘publish’,
‘post_parent’ => $post->ID,
);
$attachments = get_posts($args);
if ($attachments) {
foreach ($attachments as $post) { ?>
“>