The Most Active and Friendliest
Affiliate Marketing Community Online!

“Adavice”/  “1Win

Adsense between posts?

amichael

New Member
affiliate
I've heard this is a recommended strategy to optimize earnings. I've read some of the how-to guides on setting it up, but the issue i'm having is that they require i find a string of code and I don't have any such thing in my index.php

Here's the code:
PHP:
<php if (have _posts ()) : ? >

What could be the problem?
 
Last edited by a moderator:
You may be using a custom theme, in which case it may need to be submitted elsewhere.

You may need to experiment a bit with which file(s) to edit. In the default theme, I think you probably want single.php - the Single Post template - which is called in the "loop" from index.php (Main Index Template) and where you'll find this line:

PHP:
<? php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>

I am talking about WordPress version 3.x, by the way. Earlier versions of WordPress will be a bit different.
 
banners
Back