WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7 Modules
[resolved] Hidden URL (5 posts)

  1. glennjamieson
    Member
    Posted 1 year ago #

    Hi there

    Thanks for this plugin, it's great. I have this running well on one site and I have the URL of the post coming through on the email fine. For some reason I am doing the same thing on another site but it doesn't work.

    The email comes through with what looks like a hyperlink, but the link can not be clicked. Any help would be appreciated.

    Here is the code at the top:

    <p>Your Name (required)
    [text* your-name] </p>

    <p>Your Email (required)
    [email* your-email] </p>

    <p>Subject
    [text your-subject] </p>
    [hidden hidden-392 "post_url"]
    <p>Your Message
    [textarea your-message] </p>

    <p>
    [captchac captcha-784 size:s]
    Please enter the CAPTCHA sequence here:
    [captchar captcha-784]
    </p>

    <p>[submit "Send"]</p>

    And at the bottom:

    From: [your-name] </br>
    Email: [your-email]</br>
    Property: [your-subject]</br>
    --
    This mail is sent via contact form on Isle of Man Estate Agents | Property for Sale Isle of Man http://manxliving.com

    Thanks

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

  2. Zack Katz
    Member
    Plugin Author

    Posted 1 year ago #

    You need to make sure that the " Use HTML content type" checkbox is checked, and then you need to wrap the URL in an anchor tag like this:

    From: [your-name] </br>
    Email: [your-email]</br>
    Property: [your-subject]</br>
    URL: <a href="[post_url]">[post_url]</a>
    --
    This mail is sent via contact form on Isle of Man Estate Agents | Property for Sale Isle of Man http://manxliving.com
  3. glennjamieson
    Member
    Posted 1 year ago #

    Hi Zack Katz

    Excellent, that did it!

    Cheers

  4. glennjamieson
    Member
    Posted 1 year ago #

    Hi Zack

    Sorry I just realised this just goes through to the Estate agent page, rather than the individual property URL:

    From: glenn

    Email: [ email redacted ]

    Property: Douglas

    URL: http://manxliving.com/agent/chrystals-commercial/

    Message Body:
    message

    --
    This mail is sent via contact form on Isle of Man Estate Agents | Property for Sale Isle of Man http://manxliving.com

    Any ideas please?

    Thanks

  5. Zack Katz
    Member
    Plugin Author

    Posted 1 year ago #

    The plugin uses the $post variable to tell what page it's on. Your template may not be resetting the post query as it should.

    Can you try using a different theme and confirm it's still happening?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.