Adding banner ads to calendar pages

Home Forums Calendar Products Events Calendar PRO Adding banner ads to calendar pages

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #984654
    Andaiye Taylor
    Participant

    Greetings — I’d like to add a banner ad to the top of my calendar pages, but entering the HTML into the “HTML above” area settings doesn’t achieve this. How do I add banners to the top of this highly trafficked and monetizable page? 🙂

    Thanks in advance for your help.

    #984687
    George
    Participant

    Hey there,

    If the “before HTML” setting won’t save the data, then it means you should use the “before HTML” filter. It requires a bit of coding, but don’t worry, it’s quite simple. Basically, just drop a little function into your theme’s functions.php file like I demonstrated for your here:

    https://gist.github.com/ggwicz/dc690e738a7472bb9fb3

    Ad whatever HTML you need for your adds, and it should work quite well.

    Let us know if that helps, cheers!

    George

    #984702
    Andaiye Taylor
    Participant

    George — thanks so much for the quick response! Will try this shortly.

    #985006
    George
    Participant

    Great! Let us know how it goes 🙂

    #985263
    Andaiye Taylor
    Participant

    Just to be clear, I should replace the sections in red above with the HTML, correct?

    #986082
    George
    Participant

    Hey @A,

    The only relevant part for you to replace is this part of that code:



    That is an <a> link wrapped around an <img> image tag. You can customize both to your needs 🙂

    I hope this information helps – if it doesn’t, let us know in more detail what things aren’t clear to you. If they’re general HTML-related questions, we can point you to some great resources online for learning about these tags and how to use them.

    Thank you!
    George

    #990995
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Adding banner ads to calendar pages’ is closed to new replies.