Change Heading in Widget "Event List"

Home Forums Calendar Products Events Calendar PRO Change Heading in Widget "Event List"

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #938851
    bolt
    Participant

    I would like to change the heading in the widget with event lists from h2 to h3 so it conforms with the rest of the headings on my page – Is this possible?

    #938911
    Geoff
    Member

    Hey there, bolt! Thanks for getting in touch. đŸ™‚

    Good question and the answer is yes, that is totally doable. It does take a little bit of custom development on your end, but I’m happy to outline the steps for you:

    • Make a copy of the following file: /plugins/events-calendar-pro/views/pro/widgets/modules/single-event.php
    • Create a new folder in your theme directory called tribe-events
    • Make another folder in there called pro
    • Make another folder in that one called widgets
    • Make yet another folder in there called modules
    • Drop your copied <i>single-event.php</i> file in that folder

    You should now have a file located at:

    [your-theme]/tribe-events/pro/widgets/modules/single-event.php

    Now that the widget template is in your theme files, you can modify it to suit your needs. In this case, you will want to update the H2 tags in Lines 53-56:

    <h2 class="entry-title summary">
    <a href="<?php echo tribe_get_event_link(); ?>" rel="bookmark"><?php the_title(); ?></a>
    </h2>

    These steps are detailed much more thoroughly in our Themer’s Guide. Please check that out if you have a chance.

    Does this help answer your question? Please let me know. đŸ™‚

    Cheers!
    Geoff

    #938937
    bolt
    Participant

    Absolutely brilliant. Thank you.

    #939006
    Geoff
    Member

    My pleasure–I’m so glad the helps!

    I’ll go ahead and close this out since you marked it as resolved, but please feel free to start a new thread if anything else pop up and we’d be happy to help.

    Also, if you haven’t already, we’d love it you shared you thoughts about the plugins on our review page to let us know what you think. đŸ™‚

    Cheers!
    Geoff

    #988120
    Leah
    Member

    Hi there,

    We wanted to check in here and update you on our progress. Although we weren’t able to address your issue in our upcoming release (3.11) we do still have it on our radar. Thank you for your patience while we continue working on a fix for the problem you reported. We will do our best to keep you posted when we have a solution in place. In the meantime, if you need help or find that the issue you reported here is no longer a problem, please feel free to start another thread.

    Thanks again for your patience and understanding!

    Cheers,
    Leah
    and the rest of The Events Calendar team

    #1034001
    Geoff
    Member

    Hey there,

    Just poking in to let you know that this issue has been resolved on our end and a patch will be included in Version 4.0. We expect that to release sometime today so please do keep you eyes peeled and feel free to let us know if have any other questions after updating.

    Thanks for your patience while we figured this out!

    Geoff

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Change Heading in Widget "Event List"’ is closed to new replies.