How to Force SSL on Custom Post Types ...
This WordPress snippet helps you force an SSL connection on single pages of custom po...

WPCodeBox
612
Protect your email addresses from spam bots and scrapers by hiding them in your source code. Learn how to hide email addresses using a simple shortcode: [email][email protected][/email]. Prevent unwanted spam and secure your email.
<?php
// WRAP IN SHORTOCDE [email] *** [/email]
add_shortcode( 'email', function($atts, $content = null){
if ( ! is_email( $content ) ) { return $content; }
return '<a href="mailto:' . antispambot( $content ) . '">' . antispambot( $content ) . '</a>';
}
);
?>





