WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] how to auto insert and populate Authors email (5 posts)

  1. nims
    Member
    Posted 1 year ago #

    Hi ... I have a site where I allow registered members (contributors) to create a post about their services. I want to auto insert a contact form below their post and want the "Send email to" field to be auto populated with their email id. This will send email to each contributor from their page. Please help.

    http://wordpress.org/extend/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    Special Mail Tags

    [_post_author_email] is useful for such cases.

  3. nims
    Member
    Posted 1 year ago #

    But how do I auto insert the contact form below each post.

  4. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    You can embed the contact form into the template file. Maybe single.php in your theme is good.

    FAQ: Can I embed a contact form into my template file?

    Note that you need to place the shortcode inside WP loop if you use [_post_author_email].

  5. nims
    Member
    Posted 1 year ago #

    Thanks a lot !!!!!!
    I was embedding the do_shortcode code outsite the loop in a template (single.php) and it was not working. It works fine inside the loop. Thanks buddy :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic