Home › Forums › Calendar Products › Events Calendar PRO › Change Heading in Widget "Event List"
- This topic has 5 replies, 3 voices, and was last updated 10 years, 5 months ago by
Geoff.
-
AuthorPosts
-
January 29, 2015 at 9:45 am #938851
bolt
ParticipantI 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?
January 29, 2015 at 2:24 pm #938911Geoff
MemberHey 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.phpNow 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!
GeoffJanuary 29, 2015 at 8:33 pm #938937bolt
ParticipantAbsolutely brilliant. Thank you.
January 30, 2015 at 7:34 am #939006Geoff
MemberMy 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!
GeoffJuly 20, 2015 at 1:29 pm #988120Leah
MemberHi 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 teamDecember 2, 2015 at 11:05 am #1034001Geoff
MemberHey 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
-
AuthorPosts
- The topic ‘Change Heading in Widget "Event List"’ is closed to new replies.
