I wanna be able to call on the gallery ID from the custom field area
meaning i have a custom field called gallery, in there i write [gallery=74]
than in the loop i want to show the gallery specified by that id
the code i have right now is <div class="actor_gallery"><?php $gallery = get_post_meta($post->ID, 'gallery', true); ?><?php echo $gallery ?></div>
but this gives me a simple text output ([gallery=74])
any ideas on how this can be done?
This is why the WordPress community is the best!!! BUMP BUMP BUMP. I struggled with this for two days now before I found this thread. Works perfect.
I wasn’t having the exact same problem, because i had found a way to call the slideshow, but the images in my slideshows were switching back and forth and it was really getting annoying. This fixed the call and prevents duplicates somehow too.
THANK YOU THANK YOU THANK YOU
Viewing 9 replies - 1 through 9 (of 9 total)
The topic ‘[Plugin: NextGEN Gallery] using Custom Fields to show gallery ID’ is closed to new replies.