Im hardcoing adsense in the sidebar, this is what im doing:
<?php
if ( !theme_dynamic_sidebar( ‘default’ ) ) : ?>
<?php $style = theme_get_option(‘theme_sidebars_style_default’); ?>
<?php ob_start();?><?php
echo theme_get_menu(array(
‘source’ => theme_get_option(‘theme_vmenu_source’),
‘depth’ => theme_get_option(‘theme_vmenu_depth’),
‘class’ => ‘art-vmenu’
)
);
?>
<?php theme_wrapper(‘vmenu’, array(‘title’ => __(‘Vertical Menu’, THEME_NS), ‘content’ => ob_get_clean())); ?>
<?php ob_start();?>
<?php get_search_form(); ?>
<?php theme_wrapper($style, array(‘title’ => __(‘Search’, THEME_NS), ‘content’ => ob_get_clean())); ?>
<?php ob_start();?>
<?php wp_list_categories(‘show_count=1&title_li=’); ?>
<?php theme_wrapper($style, array(‘title’ => __(‘Categories’, THEME_NS), ‘content’ => ob_get_clean())); ?>
<?php endif; ?>
<?php is_category( $category ); ?>
<script type=”text/javascript”><!–
google_ad_client = “?????”;
/* Publicidad categorias */
google_ad_slot = “?????”;
google_ad_width = 160;
google_ad_height = 600;
//–>
</script>
<script type=”text/javascript”
src=”https://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>
My theme was created with Artisteer and my category pages are an archive.php file. If tried putting <?php is_archive(); ?> but it doesnt work.