NextGen Gallery Short Codes

Looks like NextGen Gallery is changing their short codes to display their galleries and such.  I think that this is probably one of the best plugins for WordPress that I use.  See the change of the codes below.  Looks like the old codes will still be valid but you should switch to the new ones as new functionality will be based on these shortcodes.  Sounds to me like there might need to be a SQL statement to update those codes I need to write.

[ gallery=x ]  => [ nggallery id=x ]
[ album=x,compact ] => [ album id=x template=compact ]
[ singlepic=x ] => [ singlepic id=x w=width h=height ]
[ imagebrowser=x ] => [ imagebrowser id=x ]
[ tags=abc,def,… ] => [ nggtags gallery=abc,def,… ]
[ albumtags=abc,def,… ] => [ nggtags album=abc,def,… ]

This entry was posted in Codeing/Development and tagged , , . Bookmark the permalink.

One Response to NextGen Gallery Short Codes

  1. Irene Dorang says:

    Thank you, thank you – I’ve been looking for hours to see why a recent install of NextGen Gallery wasn’t showing anything for [gallery id=#], which is still the instruction given by the plugin – I just did [gallery=#] and the [nggallery id=#] and they both work – really appreciate this post.

Comments are closed.