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