Home › Forums › Calendar Products › Events Calendar PRO › Events List Widget: in which php doc is the "View All Events" Link located?
- This topic has 5 replies, 4 voices, and was last updated 8 years, 8 months ago by Support Droid.
-
AuthorPosts
-
July 14, 2013 at 4:03 pm #55119smallmammothdesignParticipant
In which php doc can I find the “View All Events” link that appears below the events list widget?
It’s not in list-widget.php, where the rest of the list widget content is located…
Also, I assume the tribe-events-adv-list-widget class and the ol class are being set in the same php file as the “View All Events” link? If not, where are those located?
Thanks.
July 15, 2013 at 4:03 pm #55301JonahParticipantHi smallmammothdesign,
This text is located in /wp-content/plugins/the-events-calendar/lib/widget-list.class.php on line 114. This is not an override-able file so you’d either need to de-register the widget and register your own copy, or simply use this snippet to replace the text:
function filter_translations($translation, $text, $domain) {
if ($domain == 'tribe-events-calendar') {
switch ($text) {
case 'View All Events':
$translation = 'View Full Calendar';
break;
}
}return $translation;
}
add_filter('gettext', 'filter_translations', 10, 3);
I hope that helps but let me know if you need anything else.– Jonah
July 15, 2013 at 6:51 pm #55337smallmammothdesignParticipantThank you for your reply, that’s just what I needed!
July 16, 2013 at 12:32 pm #55503JonahParticipantYou’re welcome smallmammothdesign, let us know if you need anything else.
– Jonah
April 18, 2014 at 9:22 am #136408kmcsandiegoParticipantHi Jonah, We just updated our Events Calendar Pro to Version: 3.5.1 using WordPress 3.9. The bug that was fixed for “recurring event instances” with latest v3.5.1 (wasn’t an issue for us), is now occurring on our website calendar: meditateinsandiego.org with “recurring event instances” — thanks for guidance. 🙂 -Chokyi
July 7, 2015 at 6:30 am #983207Support DroidKeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Events List Widget: in which php doc is the "View All Events" Link located?’ is closed to new replies.