remdog
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Sidebar from right to left??Forum: Themes and Templates
In reply to: Sidebar from right to left??OK I guess I may need a little coaching. I tried a few things but I didn’t see a change.
I am using the fspring theme.
Forum: Fixing WordPress
In reply to: AdsenseThanks guys. I put the tags in the index.php file before and after my content tags. I will give it a week or more. I get crawled each day but maybe that doesn’t matter.
What are the chances it is Google’s problem??
Forum: Fixing WordPress
In reply to: AdsenseWould this work in my header.php??
<!– google_ad_section_start –>
<div id=”content”>
<!– google_ad_section_end –>
<!– end header –>Forum: Fixing WordPress
In reply to: AdsenseOK I added the codes but I had to put this one in my header.php file
<!– google_ad_section_start –>And this one in my footer.php
<!– google_ad_section_end –>Is that ok to put them separated in different files??
Forum: Fixing WordPress
In reply to: AdsenseThanks I’ll take a look…
So you don’t think it is Google then? Only reason I ask is I never had a problem for months and I haven’t even touched the code… then one day… boom!
Forum: Fixing WordPress
In reply to: Adsenseok thanks!
Forum: Themes and Templates
In reply to: Adsense after first post onlyhmmm… maybe it isn’t possible. I thought I saw this on another WordPress script but maybe it was a different script…
Forum: Themes and Templates
In reply to: Adsense after first post onlyOk this is what I actually have in my index. I can change the $showads to any number I want to indicate which post to show the Ads after. But, I want to show it after post 1 and after 2…
I can’t seem to find this anywhere.. ideas??
<?php
get_header();
?><?php $postnum = 1; $showads = 1; ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=”post”>
<h3 class=”storytitle” id=”post-<?php the_ID(); ?>”><div id=docimage></div>” rel=”bookmark”><?php the_title(); ?></h3>
<div class=”meta”><?php _e(“Filed under”); ?> <?php the_category(‘,’) ?> <?php _e(‘by’)?> <?php the_author() ?> on <?php the_time(‘l F j, Y’); ?> <?php edit_post_link(__(‘Edit This’)); ?></div><div class=”storycontent”>
<?php the_content(__(‘(more…)’)); ?>
</div><div class=”feedback”>
<?php wp_link_pages(); ?>
“>Trackback · <?php comments_popup_link(__(‘No comments yet’), __(‘1 comment’), __(‘% comments’)); ?>
</div><?php trackback_rdf(); ?>
</div>
<?php comments_template(); // Get wp-comments.php template ?>
<?php if ($postnum == $showads) { ?> ADSENSE CODE HERE <?php } $postnum++; ?>
<?php endwhile; else: ?>
<?php _e(‘Sorry, no posts matched your criteria.’); ?>
<?php endif; ?>
<div class=”feedback”><?php posts_nav_link(‘ — ‘, __(‘« previous page’), __(‘next page »’)); ?></div><?php get_footer(); ?>
<br><br>Forum: Themes and Templates
In reply to: Adsense after first post onlyCool it worked. I used the code that was in the near the beginning of this thread. I now have my adsense code between posts 1 and 2. How would I tweak the code to have the “adsense code” appear between posts 2 and 3 ALSO…. ??
Thanks