Extremely helpful plugin I was able to add protected email link in menu
-
I’m so happy that I ran across this plugin before I encountered my latest project. The client just wanted his email address as the contact link and in order to protect him from spam, I remembered that I could install your plugin and do the following:
// usage [contact_link] in the menu with plugin installed. function contact_link_function( $atts ){ $email = '[email protected]'; // the email goes here $output .= '<a href="mailto:' . antispambot(''. $email .'') . '">CONTACT</a>'; return $output; } add_shortcode( 'contact_link', 'contact_link_function' );
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Extremely helpful plugin I was able to add protected email link in menu’ is closed to new replies.