Advertisement to single event

Home Forums Calendar Products Events Calendar PRO Advertisement to single event

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1149927
    Ivan
    Participant

    Hi,

    can I ask you how (where) to add advertisement code on single event page?

    thank you

    #1150112
    Geoff
    Member

    Hey Ivan,

    Absolutely! You can add that code to the template file. Here’s how to do that:

    • Make a copy of the single-event.php template. It’s located at /wp-content/plugins/the-events-calendar/src/views/single-event.php.
    • Make a new folder in your theme directory called tribe-events
    • Drop your copied single-event.php file in that folder.

    Now that the template is in your theme, you can change it to suit your needs. In this case, place the advertisement code where you would like it to appear and that will be reflected in the template.

    Does this help answer your question? Please let me know. 🙂

    Cheers!
    Geoff

    #1158828
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Advertisement to single event’ is closed to new replies.