Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1246797

    porretta_cinema
    Participant

    Hi, I’m using a plugin that obfuscate email addresses across my site, for the sake of security (it is Email Address Encoder)

    By default, it only encodes addresses found in posts, pages, comments, excerpts and text widgets.

    Enabling it also on header and footer content has to be done manually.

    How can I filter other parts of my site?
    If the content supports WordPress filters, register the eae_encode_emails() function to it: add_filter( $tag, ‘eae_encode_emails’ );.
    If the content is a PHP string, run it through the eae_encode_emails() function: $text = eae_encode_emails( $text );.
    If you want to encode a single email address, use the eae_encode_str() function: <?php echo eae_encode_str( ‘name@domain.com’ ); ?>

    I’ve asked the plugin’s dev about it, and it turned out that by using a paid theme, he can’t access the source code and advised me to ask here for help.

    For what I can understand, it is a matter of adding some functions, but I’m not that expert and I’m not able to do it. Some suggestions?

    #1246802

    Christian
    Moderator

    Hey there,

    It sounds like you might be having an issue with a third party plugin or script. Regretfully, we cannot provide support for third party plugins or scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.

    Thank you for your understanding.

    #1246820

    porretta_cinema
    Participant

    I understand.

    If possible, could you at least leave this topic open? Maybe if some other user has faced a similar situation he could point me to a solution.

    #1246822

    Christian
    Moderator

    Sure. Thanks.

    #1247437

    porretta_cinema
    Participant

    To the users that could be in the same situation as me: the plugin author told me that the function that I need to add should be something like this:

    add_filter( 'x_theme_footer_text', 'eae_encode_emails' );

    the last part of the function is about his plugin and is correct that way, the first part is his guess about the X theme.

    #1247631

    Joao
    Moderator

    Hi There,

    Thanks for your input for the community, please let us know if need help with anything else.

    Joao