Plugin Contributor
Nick C
(@modernnerd)
Hi, @shotokan-karate-of-america.
The next update to Simple Social Icons will include email address protection:
https://github.com/studiopress/simple-social-icons/issues/14
I don’t have a release date for this just yet. If you’d prefer not to wait, though, you could modify the plugin with the same one-line amend displayed here:
https://github.com/studiopress/simple-social-icons/pull/61/files
I recommend taking a backup of your site before editing PHP files.
That does not seem to be effective – the ‘mailto’ email is still plainly appears in the HTML after changing line 395 of simple-social-icons.php to:
$output .= sprintf( $data[‘pattern’], ‘mailto:’ . esc_attr( antispambot( $instance[$profile] )), $new_window );
Plugin Contributor
Nick C
(@modernnerd)
Thank you for testing that, @shotokan-karate-of-america.
You are welcome to try the development version of the plugin here, which works to obfuscate email addresses in my tests: https://github.com/studiopress/simple-social-icons/archive/develop.zip
You’d need to uninstall the existing plugin and replace it with that version.
You will also need to enter your address into the widget as ‘test@example.com’ rather than ‘mailto:test@example.com’.
The development version, after removing the mailto: in the email widget of simple-social-icons also does not hide the email address – there is still the same HTML href tag with the email address in the code…
Help?
Plugin Contributor
Nick C
(@modernnerd)
I see the obfuscated ‘mailto’ icon link in your site source now:

(You’ll only see it in the raw site source; not in your browser’s dev tools.)
Ah! I see the same in my browser source, but Chrome’s code inspector still reports the unobfuscated link.
Plugin Contributor
Nick C
(@modernnerd)
Great — thanks for letting us know. (And, yes, the view source/inspector difference is really confusing at first!)