• Hey Hey!

    I have a simple contact form attached to all my “single-portfolio.php” pages as a way for people to request purchasing the portfolio item. They fill out the form and send me an email which I then respond with a price, etc…

    What I want is to add some code to call the featured image for that post to be included in both the form and the email that is sent to me. That way I know what piece the person is requesting.

    Is this possible on either ‘contact form 7’ or the default wordpress contact form?

    Thanks!

    Contact Form 7 code…

    <label> Your Name (required)
        [text* your-name] </label>
    
    <label> Your Email (required)
        [email* your-email] </label>
    
    <label> Subject 
        [text your-subject] </label>
    
    /*AUTOMATICALLY INSERT POST THUMBNAIL AND TITLE HERE*/
    
    <label> Your Message
        [textarea your-message "] </label>
    
    [submit "Send"]

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Contact Form Featured Image’ is closed to new replies.