WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
[resolved] PHP code for inserting NextGEN into a theme template (4 posts)

  1. wordpresssmith
    Member
    Posted 3 years ago #

    What is the PHP code to insert the NextGen shortcodes into a template? Shortcodes that I wish to use are:
    [monoslideshow id=1 w=800 h=550 preset='sparkles'] **
    ---Can this shortcode handle album instead of gallery? or do multiple galleries?
    [nggtags album=WordPress,Cologne,Irland]
    [nggtags gallery=cologne,wordpress]
    [nggallery id=x w=800 h=550]
    [album id=x template=extend]
    [nggallery id=2 template=carousel images=7] **
    [nggallery id=1 template=galleryview images=0] **

    I will have the NextGEN and NextGEN Monoslide (with the monoslide SWF purchase) plugins installed.

    '<?php echo do_shortcode('[slideshow id=x w=width h=height]'); ?>' does not work.

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. wordpresssmith
    Member
    Posted 3 years ago #

    '<?php echo do_shortcode('[slideshow id=x w=width h=height]'); ?>' works. I had another error!

  3. marujobhz
    Member
    Posted 3 years ago #

    i use <?php echo do_shortcode('[monoslideshow id=1 w=640 h=358]'); ?> and works fine.

  4. elmaluf
    Member
    Posted 3 years ago #

    I used <?php echo do_shortcode('[nggallery id=3 w=600 h=450]'); ?>. It worked fine too in the header.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.