WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
IP Address (3 posts)

  1. chengandeng
    Member
    Posted 1 year ago #

    Is there anyway to detect the IP address of the sender and paste it using shortcode it in the email?

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

  2. chengandeng
    Member
    Posted 1 year ago #

    I found the shortcode to stick into the mail body but i will like to also display the IP at the form itself to let them know that i will be capturing their IP.. but the same shortcode does not work.. please advise..

  3. biswajeet
    Member
    Posted 1 year ago #

    Hi, you need to make a theme template specific for CF7 form and there you can print out the visitor's IP with <?php echo $_SERVER['REMOTE_ADDR']; ?> and placing at desire location.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags