• How do I add adsense only on the post page in between the post and the comments. I cant seem to find what I need to edit.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • If I udnerstand what you are wanting is for it to be placed on a page that has a single pot on it – liek the permalinks page of an article

    for example, go into your theme, open single.php and post it between these lines
    —————————-
    ?php the_content(‘<p class=”serif”>Read the rest of this entry »’); ?

    <——–ADSENSE CODE GOES HERE———->

    p class=”postmetadata alt”
    ————————
    the above example is using the single.php with the default theme

    or, there are plugins like CGINLINE that will let you post stuff between posts (such as on the main page with multiple posts

    Thread Starter zigzam

    (@zigzam)

    My single file looks like:

    <?php get_header(); ?>

    <div id=”container”>

    <?php include (TEMPLATEPATH . ‘/theloop.php’); ?>

    <?php get_sidebar(); ?>

    </div><!– Container //–>

    <?php get_footer(); ?>

    No matter where I place the code it doesn’t go directly below the post and above the comments. I don’t need a fancy adsense management system.

    Because your theme is another one of those badly made themes: the Loop is in the loop.php file.

    what theme are you using?

    oops lol looks like someone answered it right as i was answering too.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘How do I add adsense below every post.’ is closed to new replies.