Skip Navigation

[Resolved] enable users to save or email a custom post to their account or to someone else

This support ticket is created 6 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by tasneemA 6 years, 7 months ago.

Assisted by: Luo Yang.

Author
Posts
#806575

Tell us what you are trying to do?
I am creating a jobs listing site. I want to add links on each job post - 'save' and 'send'. If they click on save, it saves the post to their account as 'saved jobs'. If they click on 'send' they can then email someone the post.

Is there a similar example that we can see?
hidden link

What is the link to your site?
hidden link

#808061

Hello,

Q1) saves the post to their account as 'saved jobs'

I suggest you try this:
1) Create a custom post type 'saved jobs' as child post type of "jobs"
https://toolset.com/documentation/user-guides/creating-post-type-relationships/
2) Create a CRED form for creating 'saved jobs', display the submit button as "save", so when user submit the CRED form, it will be able to create a 'saved jobs' post, and the user is the author of 'saved jobs' post
https://toolset.com/documentation/user-guides/cred-forms-for-child-content/

Then you will be able to get all 'saved jobs' posts of current user:
https://toolset.com/documentation/user-guides/filtering-views-query-by-author/

Q2) If they click on 'send' they can then email someone the post.
Same as above, you can create another child post type 'send jobs' with a custom email field
https://toolset.com/documentation/user-guides/using-custom-fields/

and setup the CRED form with email notification:
https://toolset.com/documentation/user-guides/automated-email-notifications-with-cred/

#854694

That is so clever. Thank you. I will try that an let you know if I have any issues.
Thank you.