Support » Plugin: Email Address Encoder » Where to add filter for footer

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    What’s the Theme you’re using?

    Genesis

    Thanks!

    Plugin Author Till Krüss

    (@tillkruess)

    Are you already using the genesis_footer_creds_text filter or the genesis_footer action to customize your site’s footer?

    I am using the genesis_footer_creds_text filter.

    Thanks again!

    Plugin Author Till Krüss

    (@tillkruess)

    May I see the code of the function that is called for the genesis_footer_creds_text filter? (pastebin.com)

    I got the following advice from a friend and it worked great!

    “Instead of digging into Genesis, it would probably be easier to just put the desired email address into a post, then open the post, get the generated html and insert that into the footer.”

    I hope this helps anyone else with the same problem.

    I found an even easier way to get this plugin to work in the footer. Use the plugin Custom Post Widget. Make a new Content Block with the email address in it. Put the Content Block into the footer and the email address will be encoded. It works great!

    Plugin Author Till Krüss

    (@tillkruess)

    In case you’d want to fiddle around in your PHP code, you can either encode an email directly:

    <?php
    echo eae_encode_str('foo@bar.com');
    ?>

    Or you can encode all email addresses in a string:

    <?php
    $string = 'This is a string contains an email address: foo@bar.com';
    echo eae_encode_emails($string);
    ?>
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Where to add filter for footer’ is closed to new replies.