Skip Navigation

[Resolved] Notify parent author when child content submitted

This support ticket is created 4 years, 11 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by sarahK-2 4 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#1504947

I have a form that allows child posts to be added. When a child post is added, I would like the author of the parent post to be notified (CRED email notifications). I can see that this has been discussed before, but I'm a little confused and want to make sure I am using the most up to date and simple solution.

Thanks in advance.

#1505407

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Sarah,

Thank you for getting in touch.

Is the child post created by clicking a link to the form from the Parent?

Is the Parent ID in the URL of the child form page?

Please let me know and we can go from there.

Thanks,
Shane

#1506055

Shane,

The form to add a child is on the parent's post page. It is not a link, the complete form and its submit button are right there.

I hope this is what you are asking!

#1507279

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Sarah,

Thank you for the information.

You should be able to do it by adding this field to your child post form in advanced mode.

<div class='hidden'>
[cred_generic_field type='email' field='parent-email']
{
"required":0,
  "persist":1,
"validate_format":0,
"default":"[wpv-post-author meta='user_email']"
}
[/cred_generic_field]
</div>

Then add this css


.hidden{
display:none;
}

From there you can set up a notification for this field.

Please let me know if this helps.
Thanks,
Shane

#1509757

Thank you Shane!