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.
- The topic ‘Bug in Calendar Shortcode with Location’ is closed to new replies.