You can use this plugin, http://wordpress.org/extend/plugins/ozh-who-sees-ads/ There is a guide here, http://www.shankrila.com/tech-stuff/hide-adsense-certain-posts-wordpress/ I'm not using it, so can't say how well the plugin is. - Dynashox -
use php code like this... if (!is_category()) { /* Adsense code */ } similarly you can use is_single, is_page() so that the adsense will only show up on category or single post pages. You can also target specific posts, consult wordpress codex
Suppose i want not to show ads on post no 2,7,9 then how i will write code and where i will place this code ( in the loop ?) Thanks i already search google for this link but want a piece of code for theme.
Its easy if (!is_single(2,7,9)) { /* Adsense code */ } dont forget that you have to open your theme folder and make changes to single.php Here is your reference: http://codex.wordpress.org/Conditional_Tags#A_Single_Post_Page