WordPress.org

Forums

Email Address Encoder
[resolved] How to filter other parts of my site (2 posts)

  1. jtmeyer
    Member
    Posted 3 years ago #

    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/

  2. jtmeyer
    Member
    Posted 3 years ago #

    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>';

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Email Address Encoder
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.