WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: NextGEN Gallery] Insert gallery into home.php template file

[Resolved] [Plugin: NextGEN Gallery] Insert gallery into home.php template file

  • I’d like to know how to successfully insert the shortcode into a template file instead of using it in a page or post. I know it’s possible but I have no clue how to do it!

    I’m using the home.php file in my theme and would like to insert similar code as you would in a page:
    [nggallery id=1]
    I read that it has to be done using shortcode but I couldn’t figure out why that doesn’t work. Or maybe it’s because I didn’t enter anything in my functions.php file. I really don’t know but hope someone else does!

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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: NextGEN Gallery] Insert gallery into home.php template file’ is closed to new replies.