Natrepub
Member
Posted 3 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!
Natrepub
Member
Posted 3 years ago #
SoftDux
Member
Posted 3 years ago #
Hi,
The easies is to add the gallery to a page, and then make the page your front page :)
Elrohir_the_king
Member
Posted 3 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.
Elrohir_the_king
Member
Posted 3 years ago #
come on, nobody know?
i just need the random image widget codes but not in an intagrated wordpress page.
Natrepub
Member
Posted 3 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!
bee dudler
Member
Posted 3 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
Natrepub
Member
Posted 3 years ago #
Hello,
Thank you for the suggestion, unfortunately, that did not do it either.
Any other suggestions?
Thanks!
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.
Natrepub
Member
Posted 3 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!
bee dudler
Member
Posted 3 years ago #
Hi,
try this could work:
if (function_exists("nggShowImageBrowser"))
{ echo nggShowImageBrowser($value); }
best regards
bee
Natrepub
Member
Posted 3 years ago #
Thanks Bee! (Both Bee's!)
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?