Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author hoffcamp

    (@hoffcamp)

    Your test has [item parent_url]. You want to use either ‘parent_post_url’ or ‘post_url’ in the [item …] shortcode.

    Thread Starter ibonatelli

    (@ibonatelli)

    Thanks for your reply. Very helpful.

    I was doing this because is written on documentation.

    [item post_url] – the URL of a published post. Only applies if you are publishing your submissions as posts.
    [item parent_url] – the URL of the post ID where the form was submitted from.

    Your suggest is correct.
    [item parent_post_url]

    Just to make better. Do you know how i cant insert the post’s title in the message?

    I’ve tried this but just unsucess.
    [item title]
    [item post_title]
    [item parent_post_title]

    Thanks a lot!!!!

    Plugin Author hoffcamp

    (@hoffcamp)

    If you are willing to edit the code, insert the following line at line 133 of email.php:

    case 'post_title': return get_the_title( $this-> formData['post_id'] );

    This will let you do [item post_title].

    I’m not able to add this to the official plugin right now, but v2.0 will include this.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: WordPress Form Manager] Shortcode [item post_url] into Notification’ is closed to new replies.