wordpress snippets last updated   : January 29, 2015
we now have 646 snippets

Shortcode to display users IP address in posts & pages

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you use a shortcode to display the users IP address in your posts or pages.

read more

Admin IP whitelist

wordpress snippet

Adding this snippet to your htaccess file will whitelist a set of IP addresses that you wish to have access to your admin panel. Replace the xx.xx.xx.xxx with the IP address you wish to whitelist. Be careful with this you don’t want to block yourself from the admin panel,

read more