• Hello,

    I’m using the newspaper theme/wordpress 4.1.1- and would like to know how to place a google adsense code so that a banner appears in every post ABOVE the title and pic.

    I’m pretty sure I have to edit the Single Post (single php) code but just am not sure what to put or where to put it.

    Thanks in advance!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Matt Knowles

    (@aestheticdesign)

    It should be the first thing in the #content division.

    So look for a line similar to this and insert your ad code after it:

    <div id=”content” role=”main”>

    Thread Starter BJD23

    (@bjd23)

    Hey Matt,

    Thanks for responding…the closest thing that I’m seeing in single post.php to what you described is this

    <div class=”span8 column_container” role=”main” itemprop=”mainContentOfPage”>

    that repeats itself several times in single post.php and I have placed an ad code after every instance of it, and I get nothing, anywhere….

    Matt Knowles

    (@aestheticdesign)

    The theme your using isn’t a contributed theme so I don’t have access to it to help you further. You should contact the developer for any further support on how to use their theme.

    http://themeforest.net/item/newspaper/5489609

    jhughart

    (@jhughart)

    Hi.

    I have a similar or same question. I am attempting to put an aweber ad right below the header and right above the first post on the site I am working on. It is the MAKE theme. Here is the URL: http://clickandmortarblog.com

    Any help here would be greatly appreciated.
    Jeff

    WPyogi

    (@wpyogi)

    @jhughart – for help with Make Theme, please use the forum here:

    https://wordpress.org/support/theme/make#postform

    jhughart

    (@jhughart)

    Thank you, WPyogi.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Place an ad right below header on post’ is closed to new replies.