WordPress.org

Ready to get started?Download WordPress

Forums

Email Address Encoder
[resolved] Will this plugin work with Custom Post Types? (7 posts)

  1. Adam
    Member
    Posted 1 year ago #

    Will Email Address Encoder work with Custom Post Types?

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

  2. Till Krüss
    Member
    Plugin Author

    Posted 1 year ago #

    Theoretically and most likely yes, but it depends on coding of your theme.

  3. Adam
    Member
    Posted 1 year ago #

    Thanks for your response, Till. What do you mean by depending on the coding of my theme? Could you give me an example?

  4. Till Krüss
    Member
    Plugin Author

    Posted 1 year ago #

    This plugin hooks into the WordPress filters like the_content and others, so if you custom post type doesn't use these filters, the email address would not be encoded. I might add an option to the plugin to encode the entire output in the near future.

  5. Adam
    Member
    Posted 1 year ago #

    That makes sense. I use a lot of Custom Fields, so this would work for my main content (the_content), but maybe not for my CFs. Thanks for the plugin!

  6. Till Krüss
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, and you can filter the custom fields too, just apply the eae_encode_emails to them, or encode the output directly using the eae_encode_emails() function.

  7. Adam
    Member
    Posted 1 year ago #

    Very cool. Thanks, Till!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic