• Hello,

    I have two event calendars on a website. They are integrated using a shortcode with the restriction to the location.

    [events_calendar location=”kelter”]

    When the page is opened, all events that are assigned to the location are displayed.

    Unfortunately, as soon as you change the month, all events are displayed, regardless of the location.

    Does anyone know what you have to set so that when you change the month, only the events that have been assigned to the location are displayed?

Viewing 13 replies - 1 through 13 (of 13 total)
  • I’m not able to reproduce this problem. I created two events with different locations here: https://mafw.org/staging/events

    I created a page with the shortcode [events_calendar location=”Sunrise Lake”] which shows just the event in November with the Sunrise Lake location. You can see the page here: https://mafw.org/staging/location-shortcode/

    Thread Starter robby77

    (@robby77)

    You can see it here.

    Location: Kelter
    https://grafenberg.zakofaz.de/

    Location: Rienzbühlhalle:

    https://grafenberg.zakofaz.de/belegungsplan-rienzbuehlhalle/

    • This reply was modified 3 weeks, 3 days ago by robby77.
    • This reply was modified 3 weeks, 3 days ago by robby77.

    Make sure you use the straight quotes like this:

    [events_calendar location="kelter"]

    Not like this: [events_calendar location=”kelter”]

    Could you try this?

    [events_calendar location="Historische Kelter Grafenberg"]
    • This reply was modified 3 weeks, 3 days ago by joneiseman.
    • This reply was modified 3 weeks, 3 days ago by joneiseman.
    Thread Starter robby77

    (@robby77)

    Hello joneiseman,

    First of all, thank you for taking the time here.

    I tried it with the different variants.

    This one:

    [events_calendar location=”Historische Kelter Grafenberg”]

    unfortunately, it doesn’t work that way from the start.

    I have currently entered “kelter” for the location again. This is also the slug of the location page (not formatted): https://grafenberg.zakofaz.de/locations/kelter/
    Unfortunately, it is still as described in the first post.

    I made sure that the quotation marks were notated correctly.

    • This reply was modified 3 weeks, 3 days ago by robby77.
    Thread Starter robby77

    (@robby77)

    Would it help if I gave you a temporary admin?

    It’s against the forum rules to request or accept admin credentials.

    Forum Guidelines

    Thread Starter robby77

    (@robby77)

    Oh, sorry. I missed that.

    Thread Starter robby77

    (@robby77)

    Unfortunately I still couldn’t solve the matter.

    Is there perhaps anyone else who has an idea for the problem?

    TreeTrail

    (@aprilschmitt27)

    @robby77,

    Quotation marks are very difficult to discern the difference, especially with differing fonts. See the first two examples below. Your double quotes are slightly slanted and they don’t work. Mine are strait up and down and they work. I don’t know which is more appropriate, but I usually use the third option, single quotes (found below the tilde on a keyboard). It avoids the double quote mistake.

    [events_calendar location=”Historische Kelter Grafenberg”]

    [events_calendar location=”White Clay Creek%”]

    [events_calendar location=<code>White Clay Creek%</code>]

    I also highly suggest initially pasting code like this into the “Text” tab of your editor, rather than the “Visual” tab, to avoid extra useless code being added. Hope this helps. ~April

    TreeTrail

    (@aprilschmitt27)

    The single quote looks like this: ` …I see that the forum turned them into: <code>

    Thread Starter robby77

    (@robby77)

    @aprilschmitt27

    Hello April,
    Thank you for your reply. The inverted commas were only visible here due to C&P. They were correct in the website code.
    I have tried many different things in the meantime. Single and double quotes, location IDs instead of text, code field instead of text editor and new locations. It never worked.
    In the end, I set up another instance with the standard theme, only the Events Manager plugin, two locations with two events each.
    Here too, the result was the same – when the page with the calendar was called up, the correct events were displayed. If you click forward one month and then back again, all events are displayed in the calendar, regardless of the location.
    I now suspect that this is a general bug in the plugin. But as I said, this is just a guess, as I can’t judge it well enough. Nevertheless, I’d be interested to know if it’s just me.
    I have now solved it via the categories. It works there without any problems.

    TreeTrail

    (@aprilschmitt27)

    @robby77, I can’t confirm or disprove this issue …because I only use this method for Lists, not for the Calendar.

    The search parameters are documented here: https://wp-events-plugin.com/documentation/event-search-attributes/

    It says the location search parameter takes a location ID. So, the slug or location name will not work. To find the location ID go to Events > Locations and then in Screen Options enable Location ID.

    I verified using the location ID works for both the events_list and events_calendar shortcodes.

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.