• empror9

    (@empror9)


    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

    (@alchymyth)

    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#A_Category_Page

    Thread Starter empror9

    (@empror9)

    hi,

    i put the code for adense into my style files, i read the links above but i couldn’t understand

    Michael

    (@alchymyth)

    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

    (@empror9)

    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.