Title: Exclude a Code Block from One Specific Page
Last modified: August 21, 2016

---

# Exclude a Code Block from One Specific Page

 *  Resolved [escalatoraccidnt](https://wordpress.org/support/users/escalatoraccidnt/)
 * (@escalatoraccidnt)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/exclude-a-code-block-from-one-specific-page/)
 * Hi,
 * I’m using this to add some JS tracking code to the entire site, however on one
   page I need a different code set to track a conversion.
 * I see how to assign the code to the entire site, but how can I exclude one page
   so that I can use a different block on that page?
 * Any help would be great, thank you.
 * [http://wordpress.org/plugins/css-javascript-toolbox/](http://wordpress.org/plugins/css-javascript-toolbox/)

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

 *  Plugin Author [wipeoutmedia](https://wordpress.org/support/users/wipeoutmedia/)
 * (@wipeoutmedia)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/exclude-a-code-block-from-one-specific-page/#post-4242554)
 * Hi escalatoraccidnt,
 * Thank you for your support message.
    I apologise for the delay in getting back
   to you. We have been super busy with various projects and haven’t had a chance
   to look into this. Please leave it with us and we will investigate the case and
   get back to as soon as we can.
 * Kind Regards,
    Damian
 *  Thread Starter [escalatoraccidnt](https://wordpress.org/support/users/escalatoraccidnt/)
 * (@escalatoraccidnt)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/exclude-a-code-block-from-one-specific-page/#post-4242568)
 * No worries, I found a work around for now, but I’d like to come back and try 
   the plugin again.
 * Basically, I have one JS file tracking.js –
 * Then I need to call that file in the header on every page of the site, except
   for one where it’s a different call for the conversion.
 *  Plugin Author [wipeoutmedia](https://wordpress.org/support/users/wipeoutmedia/)
 * (@wipeoutmedia)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/exclude-a-code-block-from-one-specific-page/#post-4242665)
 * Hello!
 * Sorry for the delay. We really was very busy working on other issues and features.
 * Your request can be made however there is no straight-forward solution. As you
   can see there is an ‘Advanced’ Tab withing the block assignment panel that can
   be used for such purposes. You can use REGULAR EXPRESSION to apply block for 
   entire web site and exclude only one page. You might don’t know about REGULAR
   EXPRESSION. That’s said please send us your WordPress site address ([http://www.Example.com](http://www.Example.com))
   along with the page address ([http://www.Example.com/page-slug](http://www.Example.com/page-slug))
   you like to exclude and we’ll give you the expression to fit that purpose.
 * Hope that make sense.
 * Regards,
    AHMeD

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

The topic ‘Exclude a Code Block from One Specific Page’ is closed to new replies.

 * ![](https://ps.w.org/css-javascript-toolbox/assets/icon-256x256.gif?rev=3132209)
 * [CSS & JavaScript Toolbox](https://wordpress.org/plugins/css-javascript-toolbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/css-javascript-toolbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/css-javascript-toolbox/)
 * [Active Topics](https://wordpress.org/support/plugin/css-javascript-toolbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/css-javascript-toolbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/css-javascript-toolbox/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [wipeoutmedia](https://wordpress.org/support/users/wipeoutmedia/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/exclude-a-code-block-from-one-specific-page/#post-4242665)
 * Status: resolved