Email Form Calling Post ID (3 posts)

  1. eragle
    Posted 10 years ago #

    I've decided to go strictly with an email form to get feedback/comments for my posts.

    Here is my request: Can someone modify the form to automatically include the post id in the subject line? < ?=t he_ID()? >

    I figured it would sort of be like the print topic plugin. Any suggestions?

  2. rossz
    Posted 10 years ago #

    Something like this should do it:

    <a href='mailto:yourname@wherever.com?subject=<? php the_ID() ?>'>Feedback</a>

    Although you might want to use my javascript email stealthing code to hide your email address from bots. I posted it in another recent thread asking about contact forms.

  3. eragle
    Posted 10 years ago #

    Great thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.