• Resolved leuchtkraft

    (@leuchtkraft)


    Hi!
    Is it possible to output events grouped by month without showing filters?
    We want to output the events in an accordion element where the events are filtered by selected_datetime. actually, we have created 12 shortcodes and are hiding the filter-form by css. but this is very slow and in Internet Explorer and on some mobile devices no events are shown.

    Or could you please give us an example of a custom php wp_query, in which we could use the order by date and the selected_datetime “option”. this will help us a lot.

    thank you very much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter leuchtkraft

    (@leuchtkraft)

    Could anybody help please?

    we need a short code snippet, how the query of the events works via wp_query with specified date ranges.

    Hi @leuchtkraft

    You can hide the filters using the shortcode, [events show_filters=”false”]
    This will work when you add the selected date time shortcode on the same page.

    Regards
    Priya

    Thread Starter leuchtkraft

    (@leuchtkraft)

    yes i tried following shortcode to display all events in march.
    [events selected_datetime="01.03.2021,31.03.2021" orderby="event_start_date" show_filters=”false”]

    as soon as i add show_filters="false" it ignores the date and display all events. i think it is because the specified date is passed to the filter and the events are output based on the filter. can this be? thats why i wanted to display the events via wp_query.

    • This reply was modified 5 years, 2 months ago by leuchtkraft.

    Hi @leuchtkraft

    Can you please ensure the date format that you are using in this shortcode is the same as that of the date picker?
    If yes, please create a support ticket here: https://support.wp-eventmanager.com/portal/en/home

    Regards,
    Priya

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Custom PHP Query’ is closed to new replies.