WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Bug in Calendar Shortcode with Location (3 posts)

  1. rwood1
    Member
    Posted 1 year ago #

    We have an issue the events_calendar shortcode when we have a location set. The first time it loads it appears to be fine, but when we page to the next or previous page it returns an 404 page not found error. We've tracked it down to the location URL parameter. When we use the following shortcode the paging does not work.

    [events_calendar full=1 category=0 location_id="5"]

    I've tried several different variations including putting location as the parameter and having the value with or without quotes. It appears that the shortcode is incorrectly putting in the URL parameter "location" and is breaking the link somehow. If I change the link to have the parameter "location_id" it appears to be working (and filtering) correctly.

    This is where it is on the live site and you can see the problem when you click on either the next or previous page in the calendar.

    http://www.go-driving.net/teen-courses-bonney-lake-wa/calendar-for-bonney-lake-wa/

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

  2. agelonwl
    Member
    Posted 1 year ago #

    Hi,

    maybe you try this instead [events_calendar full=1 location=10 category=64] where 10 is the events location id and 64 is the events category id

    e.g. replace location_id with location

    http://wp-events-plugin.com/documentation/
    http://wp-events-plugin.com/documentation/event-search-attributes/

    Also, I've noticed that your calendar is not loading using ajax? maybe this is a theme issue e.g. try to temporarily switch back to default wp twenty twelve theme to confirm

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    the issue with navigation between months is javascript related, so varieations to the shortcode won't make any difference, try the theme suggestion from angelo

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic