I'm using a Gravity Forms user registration to handle registration processes, and I use Gravity Forms custom post type + wp resume manager to let the user submit some fields in his resume within the registration process. The user registers, fills some fields, and these fields he put are mapped to his resume fields. The resume is just a post.
Here's my problem:
Now the user is registered and has posted his resume and filled some of the fields, I want to redirect him on the first login to the resume edit page to fill the rest of fields.
Here's a sample link:
http://mydomainname/complete-your-resume/?action=edit&resume_id=7038
The resume is a custom post type; the name of the post type is resume
and "7038" is the resume post_id.
I already know how to redirect users in first login, but what I don't know is how to do the following:
- How to redirect them to "their" resume-post edit page (the above link).
- Redirect them based in their role. I want to redirect only users who have role "candidates".
- If there a way to prevent them to navigate anywhere until they fill all the fields and save the post/resume.
I will highly appreciate any help of these points above. Thanks in advance.