I have a gallery page wherein there are multiple individual galleries/sub-pages. I handle this function by using-
<?php
if( is_page( 39 ) ) {
echo do_shortcode('[nggallery id=1]');
} else {
}
?>
I'm wondering, is there a way to include page specific content in that? For example, if that code is used to show A's gallery, how can I include A's bio info within that statement(using <p>
)?
echo "<p>stuff</p>";
not work? Your shortcode is already specific to post/page 39echo "<p>stuff</p>";
is supposed to work, how can I include that in addition to the gallery info?