I have wordpress website that let the user publish her busines.
Each business has a privet page with some details and image gallery.
Each business owner has a user.
I should make, that each user(Each business owner) can edit only her page, but to do that from custom designed edit page.
It work like this:
1. Joni has a fruit shop.
2. I will create for Joni a page from admin panel
3. He will log into the system and will to link for page with fields to fill.
4. After he will fill it, each visitor on the site can see this page
5. If Joni want, he can login again and change details
I think to do that like this:
1. i will create a new user for the business owner.
2. i will create a new page and will insert the user id in a custom field
3. a wp query will such the data for the user edit page(the query will display the page where the custom field 'userID' is the current user id )
4. with xml-rpc to send the data and will update the details
For the gallery, I didn’t find solution yet.
I need that the gallery will assoat to the page(maybe to use custom fields like 'imagegallery1','imagegallery2' etc.)
Anybody think there is any another way to do this things?(the edit page and the gallery)
Thank's!