Forums

Arclite Theme and using adsense (2 posts)

  1. izanti
    Member
    Posted 3 years ago #

    Hello all,

    I recently installed the Arclite theme and before I used the standard word press theme.

    My problem is I used to use the mod to insert ad sense after the most current post and it worked fine in the standard forum. But now since I have used the Arclite theme the mod doesnt work. It inserts the ads fine but it moves the sidebar all the way to the bottom of the blog.

    Does any one have advice onto how to fix this? Thank

    Link to blog

    Here is the mod I always used

    First, open your index.php (or home.php, archive.php, or any other file you want to do this for) and find this line:

    <?php if (have_posts())

    and before, add:

    <?php $count = 1; ?>

    This will be used to track which post is being displayed. Next we’re going to add the code to display your Adsense. Find:

    <?php the_content

    and after, add:

    <?php if ($count == 1) : ?>
    Adsense Code Goes Here
    <?php endif; $count++; ?>

  2. David Law
    Member
    Posted 2 years ago #

    I just made an AdSense version of Arclite for free download at http://www.google-adsense-templates.co.uk/arclite-free-adsense-ready-wordpress-theme.html

    It's got better ad placement than your current setup and doesn't Easy AdSense plugin take some of your ad revenue? I know ohe of the popular AdSense plugins does.

    My version of Arclite doesn't take any of your revenue.

    David

Topic Closed

This topic has been closed to new replies.

About this Topic