Title: JavaScript and Pages Feature
Last modified: August 18, 2016

---

# JavaScript and Pages Feature

 *  [morgs](https://wordpress.org/support/users/morgs/)
 * (@morgs)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/javascript-and-pages-feature/)
 * Actually this might be relevant to all kinds of WP posts.
 * Thanks to MCincubus (IRC name) I can now use JavaScript to encode my email address
   and guard against spambots.
 * I was trying to use Enkoder (Google it) with my contact page created using the
   pages feature of WP 1.5 with now luck.
 * Using a misc.php plugin MCincubus suggested this code:
 * `
    <?php /* Plugin Name: Misc Version: 1 Description: A bunch of miscelaneous
   stuff Author: Me */
 * add_action('wp_head', create_function('$a', 'if(is_page("your-page-name-here"))
   remove_filter("the_content", "wpautop");'));
    ?>
 * There is one caution though:
    You will have to add your own tags to any page 
   you name in the plugin.
 * Hope that helps. Did wonders for me.
 * Ciao

The topic ‘JavaScript and Pages Feature’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [morgs](https://wordpress.org/support/users/morgs/)
 * Last activity: [21 years, 1 month ago](https://wordpress.org/support/topic/javascript-and-pages-feature/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
