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

  1. marcool
    Posted 3 years 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!


  2. businessdirectoryplugin
    Plugin Author

    Posted 3 years 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
    Posted 3 years 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
    Plugin Author

    Posted 3 years 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

  • Business Directory Plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.