What file the "Upcoming Events" header wording comes from?

Home Forums Calendar Products Events Calendar PRO What file the "Upcoming Events" header wording comes from?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1296375
    Aleksandr
    Participant

    Hello,

    I have been poking at the main calendar page on my website using Chrome and Firefox Developer Tools to change the wording of the “Upcoming Events” header to something else (yes, as strange as it might sound, for my purposes I would like to do that). Yet, as hard as I tried to pinpoint the source file, I cannot move further than editing the label Chrome Developer Tools preview mode. ? I appreciate any help with this. Ideally, I would love to have a CSS code to overwrite the default label, so I can add it to the child theme, but I will settle for just the source file name too. Thank you very much!

    Best regards,
    Aleksandr

    #1296907
    Jennifer
    Keymaster

    Hi Aleksandr,

    Thanks for reaching out!

    The source file depends on which view you’re trying to customize…That wording actually comes from the tribe_events_title() function that you will find in (I believe all) of the view templates – month, list, photo, etc. You can customize them by copying them into your child theme and following the instructions in our themer’s guide. Look for this line:

    <?php echo tribe_get_events_title() ?>

    You’ll want to replace <?php echo tribe_get_events_title() ?> with your new text.

    Please let me know if you have any more questions!

    Thanks,

    Jennifer

    #1317449
    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 ‘What file the "Upcoming Events" header wording comes from?’ is closed to new replies.