Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #367167

    Hi

    I just tried the plugins “email adress encoder” and “Simple Mail Address Encoder”. It seem they don’t work with enfold.

    Is there any plugin you are aware of to encrypt all eMail adresses in text elements and team memeber elements?

    thanks

    #367481

    Hi Siracher!

    I don’t know of any that I can recommend. You could try to do something in javascript such as this.

    add_action( 'wp_footer', 'enfold_customization_reverse_email' );
    function enfold_customization_reverse_email() {
    ?>
    <script type = "text/javascript">
    jQuery(document).ready(function(){
    function reverse(s){
        return s.split("").reverse().join("");
    }
    jQuery('.avia-team-icon').attr("href", function(){ return reverse(jQuery(this).attr("href")) } );
    });
    </script>
    <?php
    }

    And then flip your email address for the icon. For example mailto: (Email address hidden if logged out) would then have to be input like this, moc.tset@tset:otliam, though I’m not sure how effective that would be.

    Best regards,
    Elliott

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.