Apr
27
2006
Google AdSense and Wordpress 2
If you are using Google AdSense make sure that your AdSense code is protected from WordPress’s new Preview feature. Easily achieved using something similar to this
< ?php global $wp_query; if (!$wp_query->is_preview): ?>
// Paste your AdSense code here //
< ?php endif; ?>