Picture this scenario:
- From the "Add/Edit Post" page in WP, click the Add Media button.
- Click on "Create a Gallery" on the sidebar and do exactly that. Then insert it into your post. Let's call this gallery "Main Gallery".
- Save your post.
- Delete the gallery from the WYSIWYG editor.
- Save your post again.
Is there any way to edit "Main Gallery" once it's not visible from the editor?
I know it's not gone. I'm using the code in this post and the gallery is displaying. If I redo steps 1 to 3 again, creating another gallery (let's call it "Secondary Gallery"), the code referenced above does not display "Secondary Gallery", it displays "Main Gallery", so I know it still exists.
So is there a way to edit this now-hidden gallery? If not, any pointers as to how I could alter the code above to display only the newest created gallery instead of the oldest?