i would like to search and filter all events with a search word from the URL
Oct 2,2025 AT 1:37PM - 14 hours ago -Hi,
On my site I have a custom search page that passes a keyword in the URL like this:
https://moenu.dk/search-site/?search=sauna
I would like the [add_eventon]
or [add_eventon_dv]
shortcode to only show events that match the search keyword from the URL (in the title or description).
Does the search
parameter work with [add_eventon]
or [add_eventon_dv]
?
If not, is there a PHP filter/hook I can use to add s=keyword
to the event query when loading the shortcode?
Which hook should I use in my version of EventON to modify the event query arguments?
Thanks in advance for clarifying which shortcode attributes or hooks I should use.
Best regards,
Rasmus
Hello,
You can go to EventON > Search > enable “Include events in default wordpress search results”.
Available Hooks can be found here:
https://docs.myeventon.com/documentations/hooks-actions-filters/
There is no way of searching in EventON shortcode from URLs. However please create a new ticket and select Feature Request as category so others can vote on your idea and get it moved into development faster.