I've searched this forum thoroughly and couldn't find a solution for enabling the user to edit their post without logging in - via a unique post ID code.
I searched the web and found a solution posted by someone using GF who had already got the user front end post editing to work. However as i'm not a coder, i don't know where to start.
Could anyone walk me through this a little more detailed? if this solves the problem it would really benefit everyone.
We have editing working with Gravity Forms, through a fairly simple process:
1. Embed a hidden field in your form to hold the ID of the post to edit
2. When you display the form using gravity_form() function in your template, pre-populate the fields with the data from your post ($field_values parameter)
3. Add a hook to gform_post_data, that extracts the ID from the form (rgpost() function) and set $post_data["ID"] = your_post_id;
That's it - when GF calls the wp_insert_post it will detect that ID is set and modify the existing post, rather than creating a new one.