WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Placing Nextgen-Gallery on Homepage (13 posts)

  1. Natrepub
    Member
    Posted 5 years ago #

    Hello,

    I would like to be able to display the nextgen-gallery on the home page above my blog posts. I've tried entering the code from the individual page and that did not work.

    I am relatively new to WordPress and I did search the forums, with no success.

    Thanks!

  2. Natrepub
    Member
    Posted 5 years ago #

  3. SoftDux
    Member
    Posted 5 years ago #

    Hi,

    The easies is to add the gallery to a page, and then make the page your front page :)

  4. Elrohir_the_king
    Member
    Posted 5 years ago #

    actually, i'm also trying to do this. I've a portal like a homepage and looks like there is no relation with wordpress. But i want to show nextgen images on my homepage.

  5. Elrohir_the_king
    Member
    Posted 5 years ago #

    come on, nobody know?

    i just need the random image widget codes but not in an intagrated wordpress page.

  6. Natrepub
    Member
    Posted 5 years ago #

    Anyone? I appreciate the idea of creating a page, but I already have my homepage built. I just need the appropriate code for it to work.

    Thanks!

  7. bee dudler
    Member
    Posted 5 years ago #

    Hi,
    this could work:

    if (function_exists(”nggShowGallery”))
    { echo nggShowGallery($value); }

    $value is the id of the gallery you choose.

    best regards
    bee

  8. Natrepub
    Member
    Posted 5 years ago #

    Hello,

    Thank you for the suggestion, unfortunately, that did not do it either.

    Any other suggestions?

    Thanks!

  9. Doodlebee
    Member
    Posted 5 years ago #

    Actually, it *does* work - I just did the same thing myself. The forums are "smart quoting" the quotes in the above code, so if you copy/paste it, you need to redo the quotes.

  10. Natrepub
    Member
    Posted 5 years ago #

    You are right, it does! I missed the smart quoting. Thank you!

    Now, for the next question:

    Is there anyway to get the images to display on the main page as they do on the Portfolio page?

    http://www.nofilmphotography.com/portfolio

    Thanks again!

  11. bee dudler
    Member
    Posted 5 years ago #

    Hi,
    try this could work:

    if (function_exists("nggShowImageBrowser"))
    { echo nggShowImageBrowser($value); }

    best regards
    bee

  12. Natrepub
    Member
    Posted 5 years ago #

    Thanks Bee! (Both Bee's!)

  13. Oscar Gonzalez
    Member
    Posted 5 years ago #

    Hi Bee, I'm looking to do something similar to what Natrepub did, except I want to make that image be a slideshow feeding from a gallery.

    Any idea how I could do that? I posted a question with more info just a couple minutes ago and then found this thread and thought it might be relevant.

    http://wordpress.org/support/topic/258669

    your thoughts?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.