WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Fix to pagination for events_list shortcode (2 posts)

  1. fathelga
    Member
    Posted 1 year ago #

    I noticed that with the recent update to the events manager plugin, the pagination on my past events page stopped working. In em-shortcode.php, I noticed that in em_get_events_list_shortcode, the second to last line should read:

    $atts['page'] = ( !empty($_GET['pno']) && is_numeric($_GET['pno']) )? $_GET['pno'] : $atts['page']

    instead of;

    $atts['page'] = ( !empty($_GET['page']) && is_numeric($_GET['page']) )? $_GET['pno'] : $atts['page']

    That got it working. If this is the appropriate fix to the bug, please update the codebase accordingly.

    Thanks,
    Nehal

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 1 year ago #

    should be fix on latest EM version 5.1.8.5

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic