Need "View More" link to open to list, not month

Home Forums Calendar Products Events Calendar PRO Need "View More" link to open to list, not month

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1588886
    Barry Dollar
    Participant

    Right 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.

    #1590972
    Jeremy
    Keymaster

    Hi 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,
    Jeremy

    #1591024
    Barry Dollar
    Participant

    We 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”?

    #1591050
    Jeremy
    Keymaster

    Hi 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&hellip;', '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&hellip;', 'tribe-events-calendar-pro' ) ?>
    </a>

    I hope this helps.

    Cheers,
    Jeremy

    #1607767
    Support Droid
    Keymaster

    Hey 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

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Need "View More" link to open to list, not month’ is closed to new replies.