Home › Forums › Calendar Products › Events Calendar PRO › Need "View More" link to open to list, not month
- This topic has 3 replies, 2 voices, and was last updated 7 years, 8 months ago by
Barry Dollar.
-
AuthorPosts
-
August 2, 2018 at 11:10 am #1588886
Barry Dollar
ParticipantRight now, when a user clicks “View More” in the List View, it opens to a full month view. We need it to stay in the List view, not the month view. See https://gabaptist.org/collegiate/#tab-tab-183-0-0-0-183-1 . It used to work the way we needed it to, but something changed (not settings, three people are the only ones with access to this) and it suddenly began to do the month view (plugin update, maybe?).
Thanks for the help.
August 6, 2018 at 5:11 am #1590972Jeremy
KeymasterHi Barry,
Thanks for reaching out to us! I’d be happy to help you 🙂
The list you are referring comes from the upcoming events widget. When clicking the “View more” button, it opens the default Events page. If you set your Events page to be a List view, then you should see the List View, otherwise it can be the calendar view or any other available view. Did you recently change that setting? (in Events > Settings > Display tab and then Default view). Is your default view actually set to List or Month?
Please let me know how it goes.
Cheers,
JeremyAugust 6, 2018 at 6:24 am #1591024Barry Dollar
ParticipantWe need the default to be Month view because our calendar is accessible at: https://gabaptist.org/events/ . The list view is needed for our individual pages, as each page has it’s own events category. Is there a way to override the month view for “View More”?
August 6, 2018 at 7:04 am #1591050Jeremy
KeymasterHi Barry,
It would be possible to change the “View more” link by doing some customization on our template files. In order to do so, you would need to edit, in your theme, the file located at /wp-content/plugins/events-calendar-pro/src/views/widgets/list-widget.php. Before doing anything, I would recommend you to read carefully our Themer’s Guide. Alternatively, we have a list of freelancers who could tweak the plugin for you.
You could, for instance, replace
<a href="<?php esc_attr_e( esc_url( $link_to_all ) ) ?>" rel="bookmark"> <?php esc_html_e( 'View More…', 'tribe-events-calendar-pro' ) ?> </a>
by
<a href="<?php esc_attr_e( esc_url( $link_to_all ).'/list' ) ?>" rel="bookmark"> <?php esc_html_e( 'View More…', 'tribe-events-calendar-pro' ) ?> </a>
I hope this helps.
Cheers,
JeremyAugust 28, 2018 at 9:35 am #1607767Support Droid
KeymasterHey 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 -
AuthorPosts
- The topic ‘Need "View More" link to open to list, not month’ is closed to new replies.
