the events calendar 4.5.1 wrong direction/place for arrow/ in "Right nawigation"

Home Forums Welcome! Pre-Sales Questions the events calendar 4.5.1 wrong direction/place for arrow/ in "Right nawigation"

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1283701
    Remi
    Guest

    hi,
    the events calendar 4.5.1
    this is a wrong direction/place for arrow and wrong place for navigation text in list view <!– Right Navigation –>

    patch:
    www/wp-content/plugins/the-events-calendar/src/functions/template-tags/loop.php:387
    – $classes[‘direction’] = tribe_is_upcoming() ? ‘tribe-events-nav-next’ : ‘tribe-events-nav-previous’;
    + $classes[‘direction’] = tribe_is_upcoming() ? ‘tribe-events-nav-previous’ : ‘tribe-events-nav-next’;


    regards
    Remi

    #1284084
    Remi
    Guest

    correct version:

    www/wp-content/plugins/the-events-calendar/src/functions/template-tags/loop.php:387
    – $classes[‘direction’] = tribe_is_upcoming() ? ‘tribe-events-nav-next’ : ‘tribe-events-nav-previous’;
    + $classes[‘direction’] = tribe_is_upcoming() ? ‘tribe-events-nav-next’ : ‘tribe-events-nav-next’;

    #1284353
    Andras
    Keymaster

    Hello Remi,

    Thanks for posting that!

    Could you explain why you thing the original is wrong and which view it influences?

    What is does is this:

    • Check if it’s an upcoming event.
    • If yes, then add tribe-events-nav-next
    • If it’s not then add tribe-events-nav-previous

    Thanks,
    Andras

    #1284560
    Remi
    Guest

    I am not php developer ….but it was ux / logical problem w/ directions arrows for next
    – before:
    < prev event < next event

    – now (and expected):
    < prev event next event >

    regards
    Remi

    #1284843
    Andras
    Keymaster

    Remi, thanks again for sharing this!

    Since this is marked resolved I am going to close this ticket, but if you need anything else related to this topic or another please post a new one in the forum and we will be happy to help you out.

    Cheers,
    Andras

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘the events calendar 4.5.1 wrong direction/place for arrow/ in "Right nawigation"’ is closed to new replies.