WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Additional fields (4 posts)

  1. i12berm
    Member
    Posted 3 years ago #

    Hi everybody,

    Please help me to solve my problem. I try to add 2 more fields to the form but I couldn't find out how to do. I want to add "Post name" and "Permanent link" fields. I mean the post title and the link of the post will be automatically added into the form. My purpose is to use the contact form as inquiry form for every post. When a guest sends inquiry for any post, I can receive the post title and the link to that post.

    I look forward to any reply.

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 3 years ago #

    You can use [_post_title] and [_post_url] for that.

    Special Mail Tags

  3. i12berm
    Member
    Posted 3 years ago #

    I try to add [_post_title] and [_post_url] but it still does not work.

  4. i12berm
    Member
    Posted 3 years ago #

    Please help me to check if I did right or wrong:

    <h3>Send online order</h3>
    <p>Your Name (required): [text* your-name]<br />
    Your Email (required): [email* your-email]<br />
    Your Phone number (required): [text* telephone]<br />
    Post ID: [_post_title] <br />
    Link: [_post_url]
    </p>
    <p>Subject: [text your-subject]</p>
    <p>Your Message<br />
        [textarea your-message] </p>
    
    <p>[submit "Send"]</p>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic