• Resolved shuffleharri

    (@shuffleharri)


    Hello,

    I hope you can help with this. I would like to add above the main calendar some text. On our old calendar page we essentially had a bit that said “Dates are provisional, contact us to book etc”. I would like to add this above the calendar rather than on each event. Is there a way to do this?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Darian

    (@d0153)

    Hi @shuffleharri

    Thanks for reaching out. Let me help you with this one.

    One of my colleagues provided the following snippet:

    add_action( 'tribe_template_after_include:events/v2/components/before', function() {
    echo '<h1>Custom title - Events</h1>';
    echo '<p>You can also add a custom paragraph here if you need.</p>';
    } );

    If you’re unfamiliar with coding, you can use the Code Snippets plugin, which removes the need to add custom snippets to your theme’s functions.php file.

    As always, please test this first on a staging site before applying to your live site.

    I hope that helps, and let me know if you have further concerns.

    Thread Starter shuffleharri

    (@shuffleharri)

    That’s very helpful, thank you!

    Plugin Support Darian

    (@d0153)

    Hi @shuffleharri

    Thanks for your confirmation, and I’m glad I was able to help you with this one.

    If you have a minute, a great review from you would be amazing!

    https://www.ads-software.com/support/plugin/the-events-calendar/reviews/

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