WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Custom Fields - NextGEN Gallery Field add-on
Possibility to include a template? (2 posts)

  1. anyway
    Member
    Posted 1 year ago #

    Hi,

    thank you for the great plugin!

    I need to include a piece of the following shortcode for the call of an (gallery) template into your code and I have no idea how to do that.

    The shortcode is

    [nggallery id=1 template=dop-thumbnail-gallery]

    Could you please help me?

    http://wordpress.org/extend/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/

  2. jayque9
    Member
    Plugin Author

    Posted 1 year ago #

    the nggShowAlbum is a function in in the nextgen plugin. The available parameters to pass (from the nggfunctions.php file):

    nggShowAlbum($albumID, $template = 'extend', $gallery_template = '')

    so try this in your code:

    nggShowAlbum( $nextgen_gallery_id['ngg_id'] , 'dop-thumbnail-gallery');

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.