WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Email Address Encoder] How to filter other parts of my site

[Resolved] [Plugin: Email Address Encoder] How to filter other parts of my site

  • I know you have a section on this in the FAQ, but I just can’t figure it out for my page.

    I’ve got a footer section that needs encoding. Here’s the code:

    if( of_get_option('ss_contact_info_email') )
    echo '<li class="email"><a href="mailto:' . of_get_option('ss_contact_info_email') . '">' . of_get_option('ss_contact_info_email') . '</a></li>';

    I just can’t seem to make it work!

    http://wordpress.org/extend/plugins/email-address-encoder/

Viewing 1 replies (of 1 total)
  • Got it! For those of you that are curious, here’s how I did it. So simple! I was way overthinking it.

    if( of_get_option('ss_contact_info_email') )
    echo '<li class="email"><a href="mailto:' . eae_encode_str(of_get_option('ss_contact_info_email')) . '">' . eae_encode_str(of_get_option('ss_contact_info_email')) . '</a></li>';
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Email Address Encoder] How to filter other parts of my site’ is closed to new replies.