[Resolved] Placing the Google Ads

Home Forums Support [Resolved] Placing the Google Ads

Home Forums Support Placing the Google Ads

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #125150
    Tom

    Well, just as I thought that I got everything sorted out, and do not need any more help, I got approved by Google AdSense, and now I am having troubles placing the ads where I want them to be.

    I tried using the official Google AdSense plugin, but I did not see anything when I pressed “Manage Ads”. Everything was simply blank, and it was just showing me the regular page. I did not see any ad spots, or have an opportunity to customize them ( since I didn’t see them, obviously ).

    Then, I tried using the Easy AdSense plugin, but that only allowed me to place the ads in limited spots. On the top, middle and bottom of the page, and in the sidebars ( which I do not use ).

    The main problem is, I imagined the website having an ad at the bottom of every page, and on the sides of the text-containers ( outside of them, on both left and right side ). Something like this one.

    Now, a friend of mine told me that it’s impossible on this theme, but I just wanted to make sure, since I really want it to be that way, and it kinda sucks if it really impossible. Double-checking, just in case he was not right.

    My website.

    #125151
    Tom

    Just to clarify, I did look into the older posts about the same problems, and I noticed that the GP Hooks are the best way to sort this stuff out, but Add-ons are still out of reach for me, for another few days, so I am searching for a temporary solution.

    #125184
    Tom
    Lead Developer
    Lead Developer

    Hi Tom,

    Nothing is impossible with GP – sounds dumb, but it’s true πŸ™‚

    I know that this plugin can be used to insert ads anywhere in your site, including within your content: https://wordpress.org/plugins/ad-inserter/

    Might be worth playing around with.

    #125192
    Tom

    Thank you for introducing me to this plugin. It really is simple and efficient.

    However, I still did not manage to do what I wanted. This is the closest I can get ( https://i.gyazo.com/d88dbd6c8240ec7151c2c9ddd87d50bc.png ). I want it to be on the left side of the text, but outside of the text-container. This one is on the left side of the text, but inside of the text-container.

    I hope that you understand what I mean, and what I’m trying to do.

    #125193
    Tom
    Lead Developer
    Lead Developer
    #125220
    Tom

    Yeah, I remembered that, but I’m not sure how to apply it to the ads.
    I’m pretty new to all of this, so it’s all a bit confusing. It’s my first real website.

    #125273
    Tom
    Lead Developer
    Lead Developer

    You should wrap your ad in the HTML I mentioned here: https://generatepress.com/forums/topic/is-it-possible-to-add-an-image-link-next-to-the-text-container-in-this-theme/#post-121960

    So:

    <div class="outside-image">
          Your ad HTML in here
    </div>

    Then:

    .site-content {
          position: relative;
    }
    
    .outside-image {
          position: absolute;
          left: -100px; /* you'll have to adjust this */
          top: 0;
          z-index: 1000;
    }
    #125324
    Tom

    You’re the best. I couldn’t be happier with my theme choice.
    It both looks amazing, and provides awesome support. I doubt anyone else would help me with all this stuff this quickly.

    One more thing, is there a possibility to make those ads appear on the Blog post page aswell ?
    Not on the actual blog, but on the page that shows all of the posts ( http://csgobm.com/betting-predictions/ for me ).

    Since that’s my most visited page, it would not make much sense not to have those ads on there aswell. πŸ™‚

    #125448
    Tom
    Lead Developer
    Lead Developer

    If you used the code from this post in GP Hooks, you wouldn’t need Ad Inserter, at least for that position: https://generatepress.com/forums/topic/is-it-possible-to-add-an-image-link-next-to-the-text-container-in-this-theme/#post-121960

    That code would show it site-wide, on your blog and pages/posts.

    Otherwise, you should be able to target the blog page in Ad Inserter.

    Glad you’re enjoying GP! πŸ™‚

    #125490
    Tom

    I’m not completely sure how do I target it though.
    I made it appear on all posts, and all pages, but it’s still not appearing on the blog post page.

    ( http://gyazo.com/ba392bff59a2b11e6a1284c1142ec222 )

    #125517
    Tom

    Also, while I’m here, I can not get my footer to only have 1 wide picture in it.
    I went to Appearance / Customize / Layout / Footer Widgets, and selected 1 Widget, and then put the wanted image into the first widget, but this is what it looks like : http://gyazo.com/da1508a83e0fe1c99c1e6553678c76f4

    #125520
    Tom

    Nevermind, forget about the last post. I made it work.

    #125532
    Tom
    Lead Developer
    Lead Developer

    Hmm, maybe that plugin doesn’t allow you to target the posts page.

    In that case, you’ll want to use GP Hooks: https://generatepress.com/forums/topic/placing-the-google-ads/#post-125448

    I’m not really sure of another solution in this case unless you find an ad inserter that does target the posts page.

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.