Title: exclude specific page
Last modified: October 19, 2016

---

# exclude specific page

 *  Resolved [deurell](https://wordpress.org/support/users/deurell/)
 * (@deurell)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/exclude-specific-page-2/)
 * Email address encoder(EAE) version: 1.0.5
    Booking Calendar version: 6.2.2
 * On my booking form in Booking Calendar I’ve chosen to auto complete the form 
   with details from logged in users. In other words. The forms is auto completing
   an email field with the email address of the logged in user.
 * This field in the form is encoded by the EAE. This means that the user will see
   the encoded email in the form – not good.
 * Is there any way to exclude the page containing this form from the scanning by
   EAE?

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/exclude-specific-page-2/#post-8331165)
 * No, you can’t exclude pages. You can try adjusting the `EAE_FILTER_PRIORITY`:
 *     ```
       define( 'EAE_FILTER_PRIORITY', 10 );
       ```
   
 *  Thread Starter [deurell](https://wordpress.org/support/users/deurell/)
 * (@deurell)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/exclude-specific-page-2/#post-8340044)
 * Thanks
    But, doesn’t that have an effect on other pages with e-mail adresses 
   on them?
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/exclude-specific-page-2/#post-8340070)
 * It will affect all pages. You gotta play around with the filter priority and 
   see what works for you.
 * The issue is either that booking calendar is calling the `the_content` filter
   too soon/late, or that the booking calendar shortcode is being generate before
   this plugin encodes the emails.
 * Alternatively you could write a conditional to not run the `eae_encode_emails`
   filter on your page using something like:
 *     ```
       add_filter( 'init', function () {
           if ( is_page( 42 ) || is_page( 'Contact' ) || is_page( 'about-me' ) ) {
               remove_filter( 'the_content', 'eae_encode_emails', EAE_FILTER_PRIORITY );
           }
       } );
       ```
   
 * You could also target a specific page template if you like.
 *  Thread Starter [deurell](https://wordpress.org/support/users/deurell/)
 * (@deurell)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/exclude-specific-page-2/#post-8340086)
 * What file would write this in?
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/exclude-specific-page-2/#post-8340091)
 * That snippet is just an example, you’ll need to adjust it to your site. I’d recommend
   you hire a developer to assist you with this, it should only take a few minutes.
 * You could use a mu-plugin for it, or just in your theme’s `functions.php`.
 *  Thread Starter [deurell](https://wordpress.org/support/users/deurell/)
 * (@deurell)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/exclude-specific-page-2/#post-8340098)
 * I kind of get the code… It’s just the WordPress structure I get a little bit 
   lost in sometimes…
 *  Thread Starter [deurell](https://wordpress.org/support/users/deurell/)
 * (@deurell)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/exclude-specific-page-2/#post-8340124)
 * But thanks for the input though 🙂

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘exclude specific page’ is closed to new replies.

 * ![](https://ps.w.org/email-address-encoder/assets/icon-256x256.jpg?rev=970206)
 * [Email Address Encoder](https://wordpress.org/plugins/email-address-encoder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-address-encoder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-address-encoder/)
 * [Active Topics](https://wordpress.org/support/plugin/email-address-encoder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-address-encoder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-address-encoder/reviews/)

## Tags

 * [field](https://wordpress.org/support/topic-tag/field/)
 * [form](https://wordpress.org/support/topic-tag/form/)

 * 7 replies
 * 2 participants
 * Last reply from: [deurell](https://wordpress.org/support/users/deurell/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/exclude-specific-page-2/#post-8340124)
 * Status: resolved