WordPress.org

Ready to get started?Download WordPress

Forums

Wedding Bells
google Ads (5 posts)

  1. caissg
    Member
    Posted 2 years ago #

    Hi,

    How do I include Google Ads at the bottom of every page?

    thanks!

    http://wordpress.org/extend/themes/wedding-bells/

  2. laurilii
    Member
    Theme Author

    Posted 2 years ago #

    I think you just need to add the piece of code that Google gives you to the page.php template file.

  3. caissg
    Member
    Posted 2 years ago #

    thanks...that works!

    In the page.php template, it places the code just above the footer. Depending on the length of content on different pages, the ad placement maybe way down and user has to scroll down. Is there anyway I can place the Ad right below the text which is "automatically" determined on each page.

    I tried to put the code between the 'Main div" and the "sidebar div" but it ended up moving my sidebar below the page content. Please advise.

    thanks!

  4. laurilii
    Member
    Theme Author

    Posted 2 years ago #

    Not sure what you mean by "the text which is automatically determined on each page". Do you mean the page title or the actual content?

    Anyway if you want the ad after the title then put it just before <?php the_content(); ?> and if you want it after the text content then put it after that code.

  5. caissg
    Member
    Posted 2 years ago #

    I meant the actual content. and thanks, your suggestion worked!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic