[Plugin: WP Email Invisibliser] Output in a span rather than a div?
-
Great plugin Adam – very useful
Putting the shortcode within a paragraph of text forced an inline email address onto a new line and produced invalid html as a div was nested within the paragraph.
To output the ‘invisiblised’ email address in a span rather than a div, I just changed line 37 of wp_mail_invisibliser.php to
return "<span class='wp_hide_email $temp'>{This email is obscured. Your must have javascript enabled to see it}</span>";
Is there any reason why this change or something similar shouldn’t be included in the plugin’s next update?
https://www.ads-software.com/extend/plugins/wp-email-invisibliser/
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘[Plugin: WP Email Invisibliser] Output in a span rather than a div?’ is closed to new replies.