WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
add post Title as Email SUBJECT (5 posts)

  1. manlioma
    Member
    Posted 2 years ago #

    Hi, I have the cf7 form in any single post, in single.php.
    Now, can I receive a mail with the title of the post where the user writed?

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

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 2 years ago #

    Yes. Put [_post_title] into the subject field.

    http://contactform7.com/blog/2009/12/25/special-mail-tags/

  3. tarundeology
    Member
    Posted 2 years ago #

    Hi mman,

    How do u add cf7 in single post? do you put something like

    <?php echo do_shortcode('[cf7-form-shortcode]'); ?>

    I would really appreciate it if you could help me step by step. Thanks.

    btw, CF7 is the best!!

  4. manlioma
    Member
    Posted 2 years ago #

    hello !! yes this is what I put in a single.php

    <?php echo do_shortcode( '[contact-form 1 "Modulo di contatto 1"]' ); ?>

    then in a admin panel of cf7 plugin, follow the link above to choose options

    >> Yes. Put [_post_title] into the subject field.

    http://contactform7.com/blog/2009/12/25/special-mail-tags/ <<

  5. tarundeology
    Member
    Posted 2 years ago #

    That was great mman. Now I can place a registration form in a toggle hide/display button for events in my project. Thank you sooooo much!
    I can also place the details entered in the database using this plugin.
    http://wordpress.org/extend/plugins/contact-form-7-to-database-extension

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic