Adding Google Adsense

Community Forums Forums Design Tips and Tricks Adding Google Adsense

This topic is: not resolved

This topic contains 6 replies, has 5 voices, and was last updated by  L00koutM0re 1 year, 4 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #14290

    rydray1
    Participant
    Post count: 8

    Not sure if this is something that I can get help with, but I thought I might ask anyway. On my site http://thismanlydad.com/  with the Lifestyle theme.
    I’m new to the child theme scene, and i’m looking to add Google Adsense to my site but not sure how to do so. The locations of the ads I want are as follows: Before header, below post, below title, and comment box 1. Any help is greatly appreciated.

    #14303

    braddalton
    Participant
    Post count: 8823

    Install the Genesis Simple Hooks plugin and add the code to the locations where you want to output your Ads.

    You may also need to use Conditional tags:

    Example:

    [php]
    <?php if (is_single() ) { ?>
    <p>Code-Goes-Here</p>
    <?php } ?>
    [/php]


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #14307

    rydray1
    Participant
    Post count: 8

    Got it, thank you very much!

    #14309

    tylerholloway
    Participant
    Post count: 10

    I was wondering about this myself, thanks for asking and answering.  To add on a bit, what is the code line that will get the add to align itself in the middle of the sidebar?  When I tried it it was on the left, and align = right didn’t move it over.

    #15530

    hanif
    Participant
    Post count: 1

    So how to add the Adsense after the first or second paragraph?

    #15623

    braddalton
    Participant
    Post count: 8823
    #30963

    L00koutM0re
    Participant
    Post count: 36

    @braddalton…using the Genesis Simple Hooks…how we can wrap the adsense code and align it left or right in post.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.