It's possible to display an individual visitors' IP address within your WordPress website. However, this will require adding a snippet of code to the functions.php file of your theme. You can access this file by logging into your cPanel and going to the root folder for your WordPress website. 

Go to <strong>WordPress ROOT Directory &gt;&gt; wp-content &gt;&gt; YourThemeName</strong>. 

<img src="https://itxdesign.com/wp-content/uploads/2014/04/FindingTheFunctionsPHPFile.png" alt="Finding The Functions PHP File" width="475" height="119" class="aligncenter size-full wp-image-6680" />

Here, you can create your own IP detection for your site. This is done by adding the following snippet of code to your functions.php file. 

<img src="https://itxdesign.com/wp-content/uploads/2014/04/IPDetectionCodeSnippet.png" alt="IP Detection Code Snippet" width="486" height="295" class="aligncenter size-full wp-image-6681" />

After you've completed this task, you just want to add the right shortcode within a page, post, sidebar widget or anywhere else on your site. The shortcode is:

[show_ip]

Adding this to a sidebar widget is done with the text widget. Go to <Strong>Appearance &gt;&gt; Widgets</strong> and add the text widget to your sidebar. Then, add the shortcode to the text widget.

<img src="https://itxdesign.com/wp-content/uploads/2014/04/ShortcodeInTextWidget.png" alt="Shortcode In Text Widget" width="460" height="438" class="aligncenter size-full wp-image-6682" />

You may need to enable shortcodes for your widgets, as well. 

<h2>Enabling Shortcodes for WordPress Widgets</h2>

If the IP address isn't displaying correctly, you may need to enable shortcodes for sidebar widgets. You will need to go back to your functions.php file to do this. 

Simply access this file again and add the following code and safe the file.

<img src="https://itxdesign.com/wp-content/uploads/2014/04/EnableShortcodesForWidgets.png" alt="Enable Shortcodes For Widgets" width="344" height="27" class="aligncenter size-full wp-image-6683" />

Now you will be able to use any shortcode within the text widget in your sidebar. This will make it possible to display the IP address of the visitor coming to your website. 
