Calendar Layouts Not Displaying

The cal and cal_list layouts for Eventbrite calendars require both JavaScript and WordPress REST API access to function correctly. If your calendar layouts are not displaying, follow these troubleshooting steps:

1. Check WP REST API Access in Security Plugins

Step 1: Log into WordPress and navigate to your installed plugins, especially any security or firewall plugins (such as Wordfence, iThemes Security, or Sucuri).

Step 2: In each security plugin’s settings, locate any options related to REST API access. This may be under sections like Firewall, Access Control, or API Restrictions.

Step 3: Ensure that REST API access is enabled and not fully blocked, as some plugins offer conditional blocking.

2. Whitelist the Required Endpoints

If you’re able to selectively allow API access, make sure these specific endpoints are whitelisted:

  • /wp-json/widget-for-eventbrite-api/v1/eb_events
  • /wp-json/widget-for-eventbrite-api/v1/wfea_cal_options

These endpoints only serve data necessary for displaying the calendar and do not expose any sensitive information.

3. Manually Test REST API Access

You can also check if the REST API is accessible by performing a manual test:

Step 1: In a new browser tab, go to https://yourwebsite.com/wp-json/ (replacing yourwebsite.com with your actual domain).

Step 2: If REST API access is enabled, you should see a JSON response. If there’s an error, it could mean API access is blocked or restricted.

To test the specific endpoints:

  • Open the following URLs to verify they return JSON data:
    • https://yourwebsite.com/wp-json/widget-for-eventbrite-api/v1/eb_events
  • If these URLs return a 403 or 404 error, revisit your security plugin settings to ensure they are allowed.

4. Check Your Browser Console for Errors

If calendar layouts are still not displaying, open the browser console (usually found under Developer Tools in Chrome or Firefox) to check for any REST API or JavaScript errors.

Follow instructions on debugging JavaScript in your browser, as errors here can help pinpoint specific issues.

5. Still Having Issues? Contact Support

If none of these steps resolve the problem, please raise a support ticket with details of the issue, any error messages from the console, and steps already taken.

Was this helpful?