Title: hide adense?
Last modified: August 19, 2016

---

# hide adense?

 *  [empror9](https://wordpress.org/support/users/empror9/)
 * (@empror9)
 * [15 years ago](https://wordpress.org/support/topic/hide-adense/)
 * hello,
 * i’d like to hide adense advertisment for some of my category, how can i do it?
 * thank you

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years ago](https://wordpress.org/support/topic/hide-adense/#post-1986045)
 * this depends on how you added adsense in the first place;
 * consider using conditional tags:
    [http://codex.wordpress.org/Conditional_Tags](http://codex.wordpress.org/Conditional_Tags)
   [http://codex.wordpress.org/Conditional_Tags#A_Category_Page](http://codex.wordpress.org/Conditional_Tags#A_Category_Page)
 *  Thread Starter [empror9](https://wordpress.org/support/users/empror9/)
 * (@empror9)
 * [15 years ago](https://wordpress.org/support/topic/hide-adense/#post-1986244)
 * hi,
 * i put the code for adense into my style files, i read the links above but i couldn’t
   understand
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years ago](https://wordpress.org/support/topic/hide-adense/#post-1986281)
 * > i put the code for adense into my style files
 * feels like the wrong place to put adsense code – i assume it is not showing anywhere?
 * either add the adsense code to some of the template files, such as index.php,
   single.php. page.php, header.php, footer.php, etc.
 * consider using one of the adsense plugins, some of which might allow you to choose
   the pages where you want to show adsense.
 *  Thread Starter [empror9](https://wordpress.org/support/users/empror9/)
 * (@empror9)
 * [15 years ago](https://wordpress.org/support/topic/hide-adense/#post-1986299)
 * yes, i add it to the template files and it’s working fine
 * but i want to hide the code for some category.
 * my adense code on sidebar, so how can i hide it for some category?
 * i try to use plugins but it doesn’t work

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

The topic ‘hide adense?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [empror9](https://wordpress.org/support/users/empror9/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/hide-adense/#post-1986299)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
