Hi Byron,
As with everyone around here, I'm very grateful for your contribution to the WP community! Thank you.
I am building a site for an Art Bazaar retail event. Prospective artists apply to be in the show every year and submit an application. On the site, once they create an account, and fill out an application form, I want them to upload photos using PhotoSmash.
I can use a custom post as part of the app process with the shortcode [photosmash]. This does a great job of creating a gallery and letting them upload photos.
What I really need though is for the photo upload to be on a page, just like the other app steps. Then at the end I'm dynamically creating a post that contains static information of everything that is submitted as a persistent and consolidated view of the application.
My problem occurs in that if I use the short code on a page, the new gallery is associated with that page, and not the post that is created at the end of the process. And I have found no way to transfer the gallery id when I dynamically create the post.
I think there are a couple ways to go, but I have some questions that could make my work more painless. I was hoping you might have quick answers before I dig into the plugin files looking for gold :-)
1. Is there a way to create a gallery in php, instead of just the shortcode on a post/page load? I'm thinking this could achieve questions 2 or 3 below.
2. Is there a way to retrieve/save the gallery id upon creation?
3. Is there a way to dynamically set or update the post id associated with a gallery?
4. I wasn't able to find anywhere on your site a list of shortcode parameters. I've seen a few in post forums (author=id, etc) but does a list exist?
5. If none of the above, what are you thoughts on retrieving gallery information based on title, author, etc. to determine the correct previously created gallery to display on a page or post?
I'm not sure if this issue is beyond the scope of help on this forum, but any pointing in the right direction is greatly appreciated.
Thanks, Jaden
not resolved