• Resolved jtmeyer

    (@jtmeyer)


    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!

    https://www.ads-software.com/extend/plugins/email-address-encoder/

Viewing 1 replies (of 1 total)
  • Thread Starter jtmeyer

    (@jtmeyer)

    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 ‘[Plugin: Email Address Encoder] How to filter other parts of my site’ is closed to new replies.