WordPress.org

Ready to get started?Download WordPress

Forums

Business Directory Plugin
[resolved] Trying to use Email Address Encoder plugin (4 posts)

  1. marcool
    Member
    Posted 1 year ago #

    I turned off email hiding for my listing and now I am trying to obfuscate the email addresses using Email Address Encoder.

    Some details here: http://tillkruess.com/projects/wordpress/email-address-encoder/

    It seems to me that the_content should match the output of the directory so I should not need to do anything special... but it doesn't encode anything.

    It does work very well for posts and pages, but not for the directory.

    The doc says we can customize which functions the plugin is hooking on... but how to do it for the directory?

    Thanks in advance for your help!

    http://wordpress.org/extend/plugins/business-directory-plugin/

  2. businessdirectoryplugin
    Member
    Plugin Author

    Posted 1 year ago #

    Hi marcool,

    It's possible that the plugin above does not support or recognize custom post types. Regular WP posts and pages are not the same as BD listings, since they different on post type. You should check to see if that email encoder supports that, and if it does, how to register the custom post type itself. Our CPT is "wpbdm_listing".

  3. marcool
    Member
    Posted 1 year ago #

    Does BD content supports filters?

    =>

    = 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');.

  4. businessdirectoryplugin
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, we support filters (meaning we use them ourselves and interact with WordPress in that manner). You should be able to install one to use with BD.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.