WordPress.org

Ready to get started?Download WordPress

Forums

how to add ad at single post page (6 posts)

  1. apek
    Member
    Posted 8 years ago #

    I want to add a 336x280 ad layout that blends in with the first paragraph in single post page. (as example,please refer https://www.google.com/adsense/large-rectangle)
    i dont know what files to edit and where i suppose to put my ad code. i hope all the expert WP users can help me solve this problem. please help. thanks in advanced!!!

  2. MichaelH
    Member
    Posted 8 years ago #

  3. apek
    Member
    Posted 8 years ago #

    adsense deluxe only can add adsense in content..but cannot in particular position like what i want in my first post...i am sure this can be done as i saw a few WP blogs did it...

  4. Mark (podz)
    Support Maven
    Posted 8 years ago #

    <?php if ($single) { ?>
    Put your ad code in here.
    Put this whole thing where you want the post to appear.
    This cannot be inside The Loop unless you use another plugin.
    <?php } ?>

  5. apek
    Member
    Posted 8 years ago #

    thanks..but i am not an expert...
    can you please explain step by step??where i must put that code???what file?which line???

  6. Mark (podz)
    Support Maven
    Posted 8 years ago #

    1. Link to an example post
    2. Tell us exactly where you want the ad
    3. We'll tell you :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.