Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #374826

    Hi there,

    I’m trying to figure out how to add a banner to the bottom of every post on my site. I managed to get it added using some code I found on here, but the advert just sits on top of the social media button section.

    function adsense_bottom($id, $context) {
    if($context == 'post'){
    <div class="adsense2">Code goes here</div>
    add_action('ava_after_content', 'adsense_bottom', 10, 2);

    It looks like this… Screenshot



    Any ideas?



    Are you wanting it below the social icons? Send us a link to your page please.



    Hello Elliott.

    Unfortunately I can’t send you a link as i’m working on this offline before uploading the new design. I’d like to place the advert above the social icons if possible, right below the post content.

    Thank you.


    I’ve managed to get the advert to sit underneath the social media icons by adjusting the bottom margin on .av-share-box. It’s not what I wanted to do, but it will do for now!


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

The topic ‘Advert At Bottom of Every Post’ is closed to new replies.