Wordpress 2.0 and Adsense

Other then talking about the wordpress 2.0 trackback issue, another thing which pop in my eyes is Adsense on Wordpress 2.0

Because of the new admin interface, when you edit or draft a post, it actually will have a preview at the bottom, with the full template loaded , this actually load the google adsense also.

Solution has been provided by the Creator of bad behavior plugin

if (!is_preview()): ?>
// Paste your AdSense code here //
endif;

i don’t have adsense so can’t really test it but it seem like there are people report that is_preview this function seem broken ?

Tags: adsense, wordpress

2 Comments

  1. Posted Fri 30th-Dec-2005 at 4:03 pm | Permalink

    I wonder if I can disable the preview function.

  2. Knight
    Posted Fri 30th-Dec-2005 at 5:04 pm | Permalink

    Shouldn’t be a problem .. i will help u take a look !

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*