Ready to get started?Download WordPress


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

  1. ncitravel
    Posted 5 years ago #

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

  2. sublimespirit
    Posted 5 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.

  3. ncitravel
    Posted 5 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:

  4. ncitravel
    Posted 5 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
    Posted 5 years ago #

    Hi guys

    This post fixed the problem for me!


Topic Closed

This topic has been closed to new replies.

About this Topic