Home › Forums › Calendar Products › Events Calendar PRO › Remove event title on EVENTS LIST widget
- This topic has 6 replies, 3 voices, and was last updated 9 years, 4 months ago by
Toby Jacobs.
-
AuthorPosts
-
December 14, 2016 at 5:09 am #1205763
Toby Jacobs
ParticipantHello,
I would like to know how to remove the event title/name on the ‘events list’ widget.
I am familiar with the themers guide and I have got it all setup to change the code… however, I can not figure out what code I need to remove / change.If you have any pointers it would be hugely appreciated.
Kind regards
Toby
December 14, 2016 at 6:45 am #1205795Nico
MemberHi there Toby,
Thanks for getting in touch with us!
If you are using the widget via Admin > Appearance > Widgets, you can just leave the title field blank in the widget setup. On the other hand if you are using the widget via shortcode then the title won’t get printed.
Please let me know if this helps or if I’m missing something,
Best,
NicoDecember 14, 2016 at 7:09 am #1205803Toby Jacobs
ParticipantHi Nico,
Thanks for the swift reply. I think you misunderstand me… I want to remove the actual event title – not the widget title.
I’ve attached a screenshot of what I mean… it’s the ‘CARDAMOM MOUNTAIN EXPLORER’ text I want to remove, not ‘TOURS DATES & PRICES’.
Many thanks
T
December 14, 2016 at 7:21 pm #1206253Nico
MemberThanks for clarifying Toby ๐
I get you now! If you just want to remove the event title and don’t make other customizations, it might be better to use a CSS snippet (add it to the theme stylesheet or via Simple Custom CSS plugin):
.tribe-events-adv-list-widget .tribe-events-title {
display:none;
}
If the above doesn’t work for you just send me the link to the URL where I can see this and I’ll adjust the code.
On the other hand if you prefer doing the template override, you’ll need to override the file event-calendar-pro/src/views/pro/widgets/modules/single-event.php. Once you have a copy of the file in the correct folder inside your theme, just comment out or delete lines 41, 42 and 43. Important note: this template is also used by the mini calendar widget (it displays a list of events under the mini calendar).
Please let me know if you are able to make it work as you need to,
Best,
NicoDecember 15, 2016 at 3:02 am #1206333Toby Jacobs
ParticipantPerfect Nico, worked like a charm.
Thanks for the help!
December 15, 2016 at 5:22 am #1206374Nico
MemberGlad to hear Toby! You are welcome ๐
Iโll go ahead and close out this thread, but if you need help with anything else please donโt hesitate to create a new one and we will be happy to assist you.
Best,
Nico -
AuthorPosts
- The topic ‘Remove event title on EVENTS LIST widget’ is closed to new replies.
