Hello. I somehow cannot place ads in posts on this theme. Maybe it's encrypted or something. If someone has placed ads in-between posts on this theme, please help.
Yes adsense ad units they are. If you see my other website mixupdate.com, I have placed ads in-between the posts but on mp3z.pk where Magazine theme is running, I somehow cannot achieve it. The ad placement where I want is just above the post and below the title. In the demo, you can see an ad placed just after the post but I cannot do it since I can't find that file, maybe it's encrypted. http://www.studiopress.com/demo/magazine.html This is how I placed them: I tried to switch it up & down to different places but they don't appear otherwise. This is the page.php file <?php get_header(); ?> <div id="content"> <div id="contentleft"> <div class="postarea"> <?php include(TEMPLATEPATH . '/includes/breadcrumb.php');?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <h1><?php the_title(); ?></h1> <!--BEGIN AdSense code below--> <div align='center'> <script type="text/javascript"><!-- google_ad_client = "pub-6345543381851136"; /* 336x280, created 1/5/11 */ google_ad_slot = "2170759940"; google_ad_width = 336; google_ad_height = 280; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> <!--END AdSense code --> <?php the_content(__('Read more', 'studiopress'));?> <!--BEGIN AdSense code below--> <div align='center'> <script type="text/javascript"><!-- google_ad_client = "ca-pub-6345543381851136"; /* Xpertify2 */ google_ad_slot = "3985934198"; google_ad_width = 336; google_ad_height = 280; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> <!--END AdSense code --> <div class="clear"></div> <?php edit_post_link('('.__('Edit', 'studiopress').')', '', ''); ?> <?php endwhile; else: ?> <?php require(TEMPLATEPATH . '/includes/post-nav-block.php'); ?> <?php endif; ?> </div> </div> <?php include(TEMPLATEPATH."/sidebar.php");?> </div> <?php get_footer(); ?> Code (markup):
You just edited page.php which is for your ... ahem ... pages, not your posts. Posts are displayed with the template file named single.php