WordPress.org

Forums

[Plugin: NextGEN Gallery] Gallery PHP in Page Template (2 posts)

  1. rnrcomp
    Member
    Posted 5 years ago #

    Good Afternoon All

    I am in need placing a gallery in my Page Template on my home page. I read a couple posts about looking in the nggfunctions.php file for the code I have found the code for pulling a gallery but I am not a programmer so I am not sure what else I need to do or if I have the code that is needed. Can someone point me to which sections of code I need and the values I need to change in order to pull say Gallery id 1?

    Thanks in Advance!
    Ed

  2. bivisual
    Member
    Posted 5 years ago #

    the following code should do the trick ...

    <? echo do_shortcode('[nggallery id=1]'); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic