We'll create fresh WordPress site with whats-my-ip installed. You have 20 minutes to test the plugin after that site we'll be deleted.
This plugin adds an [whatsmyip]
shortcode tag to WordPress. You can use it
to embed the current User’s IP address inline in a Post.
The shortcode takes 3 attributes, ip
, country
and coords
. Each of
these can take boolean values like 1, yes, no, true. Truthy values
enable the display of the corresponding field.
For Eg:- To display ip
and country
details use,
[whatsmyip ip='yes' country='yes']
The ip
attributes defaults to true if absent. Rest of the attributes
are false by default.
A Widget is also provided for use inside sidebars. Use the checkboxes in
the Widget customization screen to change the displayed fields.