in template
-
Hello, I try to use your plugin directly in a template but I’ve got an error.
<?php $email=the_field('email'); echo do_shortcode( '[encode]' . $email . '[/encode]' ); ?>
gives this error
Warning: Division by zero in /home/…/wp-content/plugins/email-address-encoder/email-address-encoder.php on line 163
Thanks for any help.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘in template’ is closed to new replies.