WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: The Events Calendar] Clicking "« Back to Events" takes me to Calendar eventhough I use Lis (6 posts)

  1. azzatron
    Member
    Posted 4 years ago #

    Hi there.
    I display all of my events in List view (not grid/calendar).
    However, for some reason when I click on "« Back to Events" after viewing an event page, it takes me back to the calendar.
    Why does it do this? Shoulding it take me back to the list view as it's my default view?

    I dont want to use the calendar at all.
    Is there a way to only use the list view, or at the very least, stop the "« Back to Events" link taking me to the grid view?

    Thanks for your time and help.

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. azzatron
    Member
    Posted 4 years ago #

    Can anyone help with this at all?

    It seems like a bug.

    Cheers

  3. justinendler
    Member
    Posted 4 years ago #

    Hi,

    Thanks for posting. I was able to reproduce the bug and we'll be getting to it, most likely shortly.

    Justin

  4. justinendler
    Member
    Posted 4 years ago #

    This is fixed and will come out with the next release.

    To fix it now, open up /views/single.php

    Change:

    <?php echo events_get_gridview_link(); ?>

    To:

    <?php echo events_get_events_link(); ?>

    Justin

  5. justinendler
    Member
    Posted 4 years ago #

    This is fixed and will come out with the next release.

    To fix it now, open up /views/single.php

    Change:

    <?php echo events_get_gridview_link(); ?>

    To:

    <?php echo events_get_events_link(); ?>

    Justin

  6. donnavitan
    Member
    Posted 4 years ago #

    Thanks this fix works and I look forward to the new release.

Topic Closed

This topic has been closed to new replies.

About this Topic