I have a custom field in my code called 'gallery' which holds the album ID from NextGen Gallery.
What I would like to do is parse that through to NextGen Smooth Gallery so it'll display the gallery alongside the post.
I have the following at the top:
<?php $gallery = get_post_meta($post->ID, 'gallery', true); ?>
And I've been trying to call it using:
<?php echo do_shortcode("[smooth=id:$gallery;]"); ?>
But all it does is show [smooth=id$3]. (3 being the ID)
What am I doing wrong?