Hi @JM at Work:
Try wrapping $gallerypage->the_post();
with if ($gallerypage->have_posts()): ... endif;
It should look like this:
if ($gallerypage->have_posts()):
$gallerypage->the_post();
endif;
See:
Hi @JM at Work:
Try wrapping $gallerypage->the_post();
with if ($gallerypage->have_posts()): ... endif;
It should look like this:
if ($gallerypage->have_posts()):
$gallerypage->the_post();
endif;
See: