Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Photo Seller – Please clarify what pages are auto added/required?
- This topic has 7 replies, 2 voices, and was last updated 8 years, 3 months ago by photo-5.
-
AuthorPosts
-
August 16, 2016 at 1:47 am #13659photo-5Spectator
Hi,
We’ve installed your plugin and been working on our dev new site for a while, but also imported all old site pages to try to reuse as many as possible. Now looking more closely at the final sort before going live and I’m totally confused about which pages I need for WP photoseller – and it hasn’t helped having all old site pages in there too, and I may have deleted one of the WP photoseller required pages if I didn’t recognise it from the old site!
So, a few really basic questions I’m afraid:-
1. Please can you confirm what pages are auto created when the plugin is installed (and page names).
2. Please can you confirm that for every new gallery created a new page is created? If so, what is it’s default parent page? Or isn’t there one?
3. Please can you confirm that for every new Album created a new page is created? And does this have a parent page?
4. Please confirm what the REQUIRED pages are for the WP photoseller to work correctly?
Many thanks, jp
August 16, 2016 at 2:57 am #73965PeterMemberThe following pages are created at installation time:
store
store/cart
store/checkout
store/ipn
store/receipt
thankyou
photogallery
photo_details
In answer to your other questions – yes when you create a new gallery the plugin will automatically create a dedicated page for it. If you delete the gallery the plugin will also delete the page. The parent page for individual gallery pages is “photogallery”.
Same as above for albums. The individual album pages will have a parent page called “photoalbums”.
You should not manually delete any gallery or album pages or the other pages created at install time.
August 16, 2016 at 3:54 am #73966photo-5Spectator@ Peter – thanks for the details. I had searched the docs but couldn’t find all the info as above.
So a few questions relating to this:
1. if I’ve already deleted the ‘Store’ page, can I just put the shortcode into my current Shop page? And then make my shop page the parent of the cart, checkout, ipn, and receipt pages?
2. if so, does the slug HAVE to be ‘store’ or can I keep it to ‘shop’?
3. I see that in the Admin section I can regenerate all the auto install pages – will that create 2 of some of the current ones and mess everything up? Or will it just recreate those that are missing, and so sort of fill in the gaps?
You said above “You should not manually delete any gallery or album pages or the other pages created at install time.” – yet in the settings you can choose any page for some things. So if I choose, for eg, my Albums home page as my ‘Shop’ page, with the albums shortcode in it, presumably it’s OK to delete the Albums home page??
Sorry, lots of questions – just trying to understand how it works so I can use it the best way for us!
Many thanks.
August 16, 2016 at 10:55 pm #73967PeterMember1. Currently the plugin expects the store page and its children to have a certain slug. Therefore based on this I recommend that you do not change these as it will most likely break things.
2. Yes (as per the above explanation)
3. The Admin page regeneration function was written to avoid duplication of pages as best as it can. If you see that happening please let us know.
You said above “You should not manually delete any gallery or album pages or the other pages created at install time.” – yet in the settings you can choose any page for some things. So if I choose, for eg, my Albums home page as my ‘Shop’ page, with the albums shortcode in it, presumably it’s OK to delete the Albums home page??
Yes for the album home page you can delete it as long as you put the shortcode in another page and set it in the settings.
However you should never manually delete an individual album or gallery page because the DB tables which store the albums and galleries have a direct reference to those individual page IDs.
August 19, 2016 at 1:13 am #73968photo-5SpectatorThanks for your detailed reply, Peter, really helpful.
I’ve now realised I’d deleted quite a few of the auto-generated pages as I thought they were related to another plugin that we’d trialed but didn’t continue with! So I did the admin ‘regenerate page’ button, which worked perfectly! Thanks.
BUT it didn’t add in the ‘store’ page again, as by coincidence my old site already has a shop page with the slug ‘store’ – so I guess that fooled it a bit.
No problem as such with keeping my old ‘store’ page but it therefore didn’t add in the required shortcodes, or anything else it should have. So please could you confirm what’s usually added into the ‘store’ page?
Thanks, j
August 19, 2016 at 2:48 am #73969photo-5SpectatorPS: just noticed that it hasn’t created an albums home page (ie: no ‘photoalbums’ page). I’m guessing it DID create it when the first album was created, then I must have deleted it, but it now doesn’t regenerate as a default page in the admin settings.
Please can you confirm the short code that goes in this page too? I’m guessing just [WPS_photo_album id=”1″] [WPS_photo_album id=”2″] etc?
Cheers.
August 19, 2016 at 4:10 am #73970PeterMemberThe store page should have the following shortcode:
[WPS_store_home]
The albums home page should have the following shortcode:
[WPS_photo_albums_home]
August 19, 2016 at 10:20 pm #73971photo-5SpectatorThanks – all getting sorted out again.
Just FYI:
1. when I clicked the regenerate all auto added pages in Admin settings, it worked fine with no duplicates BUT it got confused that i already had a page with the slug ‘store’ so didn’t add in the store page.
2. Also I double checked and the ‘photoalbums’ definitely wasn’t auto created when we first created an album, as I’ve checked in the ‘bin’ and I hadn’t deleted one by that name, or anything similar.
And just a suggestion – it would be really useful to suers if you added this info into your docs somewhere, re the names of all the auto added pages, and when they were added. Also ALL shortcodes you use so if a page is deleted by mistake or fails to generate then the required shortcodes are available.
Many thanks for your help, j
-
AuthorPosts
- You must be logged in to reply to this topic.