WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Contact Form 7] Post Title in Form / email (5 posts)

  1. ncitravel
    Member
    Posted 4 years ago #

    Is it possible to include the Post Title in the email which is sent from your contact form ?
    Regards,
    Len

  2. sublimespirit
    Member
    Posted 4 years ago #

    Hi len,
    if you go down to the Mail section below form editing, you will see a subject field - fill in the name of the message you wish to receive in your inbox here.
    Karen

  3. ncitravel
    Member
    Posted 4 years ago #

    It's not static text that will be the same on all contact forms. I have 200 posts, and I don't want to create 200 forms with the title of each one in the subject field. Instead I'd like some kind of code snippet which shows the title of the post on which the form is currently shown.
    Similar to eg:
    [your-name] <[your-email]>
    But like:
    [post-title]

  4. ncitravel
    Member
    Posted 4 years ago #

    Is there no-one out there who is able to add the current post title to a contact form ? I imagine it is possible with php, but I cant get it working...

  5. Screaminchief
    Member
    Posted 4 years ago #

    Hi guys

    This post fixed the problem for me!

    http://wordpress.org/support/topic/308003?replies=7#post-1226523

Topic Closed

This topic has been closed to new replies.

About this Topic