Title: NextGEN Gallery shortcode
Last modified: September 9, 2016

---

# NextGEN Gallery shortcode

 *  Resolved [Joseph Lestingi](https://wordpress.org/support/users/tucsondonpepe/)
 * (@tucsondonpepe)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/nextgen-gallery-shortcode/)
 * Hi,
 * Is it possible to create a shortcode in NextGEN Gallery?
 * Joe

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/nextgen-gallery-shortcode/#post-8164441)
 * [@tucsondonpepe](https://wordpress.org/support/users/tucsondonpepe/) – NextGEN
   Gallery can use extensive shortcodes for displaying galleries, etc. … see this
   article for some examples and more details: [https://imagely.com/docs/nextgen-gallery-shortcodes/](https://imagely.com/docs/nextgen-gallery-shortcodes/)
 * Do you have something specific in mind when you write “create a shortcode”?
 * Thanks!
 * – Cais.
 *  Thread Starter [Joseph Lestingi](https://wordpress.org/support/users/tucsondonpepe/)
 * (@tucsondonpepe)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/nextgen-gallery-shortcode/#post-8182405)
 * Cais,
 * Thanks for the reply. I would like to insert the NextGEN Gallery shortcode in
   a Headway custom code block. I tried to do that but the gallery did not show.
 * Joe
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/nextgen-gallery-shortcode/#post-8190419)
 * [@tucsondonpepe](https://wordpress.org/support/users/tucsondonpepe/) – I am not
   familiar with the Headway theme architecture to know why that may be the case.
   Did you see any messages related to NextGEN Gallery when you viewed the “custom
   code block” in your site’s front-facing views? There may be something in that
   which may help.
 * Thanks!
 * – Cais.
 *  Thread Starter [Joseph Lestingi](https://wordpress.org/support/users/tucsondonpepe/)
 * (@tucsondonpepe)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/nextgen-gallery-shortcode/#post-8206807)
 * Cais,
 * Thanks for referring me to [https://imagely.com/docs/nextgen-gallery-shortcodes/](https://imagely.com/docs/nextgen-gallery-shortcodes/).
   
   I attempted to use [ngg_images gallery_ids=”1″ display_type=”photocrati-nextgen_basic_imagebrowser”]
   in the Custom Code block in HeadwayThemes. I believe it is similar to the text
   editor mentioned in the above article.
 * The following is the code in the Custom Block.
    =============================
   ============= <html> <head>
 * <style>
 * p.justify {
    line-height: 1.5; text-align: justify; font-size: 14px; font-family:
   Verdana; padding-top: 10px; }
 * p.left {
    line-height: 1.5; text-align: left; font-size: 18px; font-family: Verdana;
   padding-top: 10px; }
 * p.center {
    line-height: 1.5; text-align: center; font-size: 18px; font-family:
   Verdana; }
 * </style>
 * </head>
 * <p class=”left”>New Resident Orientation</p>
    <p class=”center”><iframe style
   =”width:550px;height:350px” src=”[https://s3.amazonaws.com/online.anyflip.com/wyvx/ztly/index.html&#8221](https://s3.amazonaws.com/online.anyflip.com/wyvx/ztly/index.html&#8221);
   seamless=”seamless” scrolling=”no” frameborder=”0″ allowtransparency=”true” allowfullscreen
   =”true” ></iframe></p>
 * <p class=”left”>Garden Walk – NextGen</p>
    <p class=”center”> [ngg_images gallery_ids
   =”1″ display_type=”photocrati-nextgen_basic_imagebrowser”] </p </html> ======
   ====================================
 * The following appears in the browser at the bottom of the page.
    [http://www.joelestingi.com/dwlp-wordpress/lifestyle/](http://www.joelestingi.com/dwlp-wordpress/lifestyle/)
 * Hope you can help find my error.
 * Joe
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/nextgen-gallery-shortcode/#post-8214395)
 * [@tucsondonpepe](https://wordpress.org/support/users/tucsondonpepe/) – The only
   difference I can see making off-hand would be to not use the double-quotes ( ”)
   characters as they may be translating into “smart quotes” which can cause issue
   for any shortcode, especially when not written in the default TinyMCE editor 
   of WordPress. If that does to correct the issue I would suggest trying the shortcode
   in the standard editor to see if it is directly related to the custom code block.
 * Thanks!
 * – Cais.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘NextGEN Gallery shortcode’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

## Tags

 * [headway](https://wordpress.org/support/topic-tag/headway/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 5 replies
 * 2 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/nextgen-gallery-shortcode/#post-8214395)
 * Status: resolved