Contact Form 7
IP Address (3 posts)

  1. chengandeng
    Posted 3 years ago #

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


  2. chengandeng
    Posted 3 years 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
    Posted 3 years 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

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

About this Topic