Ready to get started?Download WordPress


NextGEN Gallery
customfields and NGEN? (6 posts)

  1. jaymorgan1
    Posted 2 years ago #

    Is there a way to store the gallery tag in a custom field, so I can put it somewhere not inside the "the_content()" output? I can't find if its even possible. Thanks so much for the help!


  2. cri77
    Posted 1 year ago #

    Hi! Yes! You can use nggShowGallery function passing id gallery. For example : <?php echo nggShowGallery($slider[0]['ngg_id']); ?>

  3. jaymorgan1
    Posted 1 year ago #

    Awesome! Thank you I will try it!

  4. jaymorgan1
    Posted 1 year ago #

    ok, not awesome, What is the $slider variable and where can I find reference to this stuff? Why is it so hard to find?


  5. jaymorgan1
    Posted 1 year ago #

    OK so i figured it out.

    If you want to add a nggGallery to your page but out of the scope of the content box of the wordpress admin screen, you can add the gallery ID to a custom field on your WP page and then call it up and feed it to this code

    <?php echo nggShowGallery($galleryID); ?>

    It will output a gallery. The reference and documentation for this product is horrible. Hopefully Photocrati Media gets them inline with some real documentation.

  6. cri77
    Posted 1 year ago #

    Yes, perfect! I could be more verbose in the explanation, sorry!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic