Viewing 1 replies (of 1 total)
  • The problem is that $args is set for the category page but then the $args is used in the ical.php template file. You can fix this problem as follows:

    Create the directory wp-content/plugin-templates/events-manager/templates and then copy the file wp-content/plugins/events-manager/templates/templates/ical.php to that directory and then in the copied version of ical.php change the following lines starting at line 13 from this:

    //get passed on $args and merge with defaults
    $args = !empty($args) ? $args:array(); /* @var $args array */
    $args = array_merge(array('limit'=>$page_limit, 'page'=>'1', 'owner'=>false, 'orderby'=>'event_start_date,event_start_time', 'scope' => get_option('dbem_ical_scope') ), $args);

    To this:

    $args = array('limit'=>$page_limit, 'page'=>'1', 'owner'=>false, 'orderby'=>'event_start_date,event_start_time', 'scope' => get_option('dbem_ical_scope') );

    I think a similar change should also be made in rss.php.

Viewing 1 replies (of 1 total)

The topic ‘Events Category Calendar link problem’ is closed to new replies.