Title: [Plugin: NextGEN Gallery] Calling NextGEN from template (PHP code needed)
Last modified: August 19, 2016

---

# [Plugin: NextGEN Gallery] Calling NextGEN from template (PHP code needed)

 *  [dandellion](https://wordpress.org/support/users/dandellion/)
 * (@dandellion)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-calling-nextgen-from-template-php-code-needed/)
 * I’d like to put NextGEN slideshow directly in the theme so I need OPHP call for
   it. Other calls (for single photo, random photo… ) might be great as well. I’d
   rather skip using widget because I am making custom, single-use theme.
 * Thanks a lot!

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

 *  [Alex Rabe](https://wordpress.org/support/users/alexrabe/)
 * (@alexrabe)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-calling-nextgen-from-template-php-code-needed/#post-786170)
 * [http://nextgen.boelinger.com/2007/05/24/new-widget-support/](http://nextgen.boelinger.com/2007/05/24/new-widget-support/)
 *  [deandail](https://wordpress.org/support/users/deandail/)
 * (@deandail)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-calling-nextgen-from-template-php-code-needed/#post-786181)
 * I’d like to include just a compact view of a gallery in my sidebar. The sidebar
   does not recognize widgets, so I need the PHP please. Your link above has several
   cool things, but nothing for just the plain gallery. Thanks!
 *  Thread Starter [dandellion](https://wordpress.org/support/users/dandellion/)
 * (@dandellion)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-calling-nextgen-from-template-php-code-needed/#post-786301)
 * That’s it. Thanks a lot!

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

 The topic ‘[Plugin: NextGEN Gallery] Calling NextGEN from template (PHP code needed)’
is closed to new replies.

 * 3 replies
 * 3 participants
 * Last reply from: [dandellion](https://wordpress.org/support/users/dandellion/)
 * Last activity: [18 years, 4 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-calling-nextgen-from-template-php-code-needed/#post-786301)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
