title: How to Prevent jquery.mousewheel.js from Loading on Pages in Wordpress
body: <p>Ok, so I've managed to get horizontal scroll via mousewheel working for my my Wordpress site using the Expositio theme (<a href="http://wpshower.com/themes/expositio/" rel="nofollow">http://wpshower.com/themes/expositio/</a>)</p>
  
  <p>This uses Brandon Aaron's Jquery-Mousewheel which can be found here : <a href="https://github.com/brandonaaron/jquery-mousewheel/zipball/master/" rel="nofollow">https://github.com/brandonaaron/jquery-mousewheel/zipball/master/</a> (for those of you who had difficulty finding a working link like I did!)</p>
  
  <p>After this code in my Header.php :</p>
  
  <pre><code>        &lt;?php
          wp_enqueue_script( 'jquery' );
  
          if ( is_singular() &amp;&amp; get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' );
          wp_head();
      ?&gt;
  </code></pre>
  
  <p>I've inserted this :</p>
  
  <pre><code>&lt;script type="text/javascript" src="&lt;?php bloginfo("template_url"); ?&gt;/includes/jquery.mousewheel.js"&gt;&lt;/script&gt;
  
  &lt;script type="text/javascript"&gt;
  jQuery(function($) {
      $('html, body').mousewheel(function(event, delta) {
          this.scrollLeft -= (delta * 90);
          event.preventDefault();
      })
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>Which works perfectly &amp; looks great with this theme (I hope this information above is useful to a another newbie like me - the '90' denotes speed - I found the default 30 to be too slow a scroll for the content on my website)</p>
  
  <p>However, I want the horizontal scrolling to <em>not</em> load for specific pages such as the 'About' etc. In fact, it could maybe work if this plugin was prevented from loading on <em>all</em> pages (since these don't have the horizontal layout that the rest of Expositio theme has)</p>
  
  <p>Does anyone have any idea what code might work to make this possible? I want <em>posts</em> to load horizontal mousewheel scrolling, but not <em>pages</em> (or at least be able to exclude specific pages). I'd really appreciate any help - I'm fed up of floundering around in the dark! :)</p>