Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @jackelynthompson – Have you looked at this page (and the ones it links to): http://nextgen-gallery.com/nextgen-gallery-shortcodes/

    This is our current primary reference … if you need something more specific please let us know.

    Thanks!

    – Cais.

    Thread Starter JackelynThompson

    (@jackelynthompson)

    I guess “shortcodes” isn’t really the word I should use. Here is the issue, we are using a theme that is no longer supported. We have products on the website, but there is no built in way to display multiple images for the product. So we are having to improvise and use your plugin. BUT the issue is that we have to just embed the image gallery below the content so on some products, the alternate images are hidden below the page fold. What we want to do is make a “custom field” for each product where we can put the shortcode to display the gallery under the product image. But the theme doesn’t allow this either…so what I need is some php coded way to embed in the theme template file.

    Since we can’t set a custom field, I am having to use the “TAGS”. So for example, this product has a gallery: http://a-zbanners.com/product/feather-flags-vancouver/ So I will add a tag called “1”. Then if I can embed the bulk of the code into the template file and then call the get_tag function…then it will work.

    Does that make sense?

    Plugin Contributor photocrati

    (@photocrati)

    @jackelynthompson – It is unfortunate that your theme is no longer supported but this also seems to be an extensive customization on top of that theme (or perhaps most themes?) … as it is, all I can suggest at the moment is to look into using the something with the following:

    `<?php echo do_shortcode( ‘[ngg_images … ]’ ); ?>

    … and then programmatically create the shortcode you would use to display the images you want for that page.

    – Cais.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Embed NextGen Gallery into my template file’ is closed to new replies.