darren_cox
Forum Replies Created
-
Thanks for the reply, I believe I’m looking at the correct ID Code. It’s the same code that get’s created when I create a new gallery and in the plugin admin it shows the shortcode [nggallery id=x] of the new gallery I just created.
Isn’t the highlighted ID in the below image the gallery ID?
http://wheelchairfoundation.org/blog/wp-content/gallery/test_1/gallery_id.gif
Nope. Code has been this way since I opened it. I inherited this and it’s working fine currently. I’m trying to add to the page and I’ve simply copied and pasted the code, updating the nggallery=x id obviously.
The code id=2 is just the first one listed. id=1-5 are currently on the page. You can see them here-> http://ghefoundation.org/museums.php
To create a new entry, I created a gallery. It’s ID is 22. I uploaded pics to this gallery. Used this number in the code and it didn’t work.
There is current code on the page. nggallery id=2 it for some reason is pulling from the gallery ID under manage gallery 16. (i’m using this as an example as to my confusion)
As stated above, there are a total of 5 entries on this page w/ this same confusing code where the nggallery=x is pulling from y and not x.
the shortcode does have a gallery number in it “2” however the gallery ID under “Manage Gallery” is 16. I created a new gallery “22” uploaded pics to it, and when using the shortcode w/ [nggallery id=22] it simply shows [Gallery not found]
it seems as if the Gallery ID is “22” it should pull that gallery? It’s actually like this on all 5 of the current museum listings
Beijing Museum of Natural History [nggallery id=2] returns images Manage Gallery> ID16
Dalian Museum of Natural History [nggallery id=3] returns images Manage Gallery> ID17
Shanghai Science and Technology Museum [nggallery id=4] returns images Manage Gallery> ID18
Tianjin Natural History Museum [nggallery id=1] returns images Manage Gallery>ID19
Yangzhou Museum [nggallery id=5] returns images Manage Gallery>ID20This is why I’m confused.
If I put in [nggallery id=6] the page returns the images from Manage Gallery> ID15
If I put in [nggallery id=7] the page returns [Gallery not found], and returns this for nggalleryid=7-22] (i didn’t go any higher because that’s all the galleries that are created on this page)