Call to an album template
-
Hi,
I’m using the nngallery plugin, version 2.0.66.17.
I created a custom album template called ‘album-myalbum.php’ and a custom gallery template called’gallery-mygallery.php’. both of the files are in my theme/nngallery.
Now how can I call that template from my page? In the old version I wrote it like that:$gallery_id= get_post_meta('$post->ID, 'gallery_id', true); if ( function_exists('nggShowAlbum')){ echo nggShowAlbum($gallery_id,'myalbum', 'mygallery'); }
In the new version of the plugin the function doesn’t exist.
Can you help me please?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Call to an album template’ is closed to new replies.