Contact Form 7
[resolved] Special Mail Tags not working in template as embed (4 posts)

  1. iamlawrence
    Posted 3 years ago #

    Hi guys,

    I have been using this plugin for a long time now and it worked well. However, recently I just discovered that using Special Mail Tags does not work if I use the form as a "do_shortcode" in my template.

    Is there any work around with this? Please advice.

    By the way, I am including my form in all of the pages as a reservation inquiry form and I am using it in a modal box.




  2. Takayuki Miyoshi
    Plugin Author

    Posted 3 years ago #

    Special Mail Tags

    Note that the [_post_*] tag has value only when you put the contact form into content of a post or a page. They are not available if the contact form is put inside a sidebar widget.

    If you can, try moving the form inside WP loop.

  3. iamlawrence
    Posted 3 years ago #

    Arigato Takuyaki Miyoshi! I will definitely try your suggestion. I'll get back on this post if the issue is resolved.

    Many thanks again!

  4. iamlawrence
    Posted 3 years ago #

    Your suggestion solved my problem! Thanks Takuyaki!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic