Repository navigation
Releases: aleksanderem/hubspot_events_sync
Release list
v1.5.0 - Clear Filters widget + clean JS
New: Clear Filters widget
- Elementor widget "Events Clear Filters" — shows ✕ button when any filter is active
- Auto-hides when no filters selected
- Clicking resets all filters and navigates to clean URL
- Styleable in Elementor (colors, typography, padding, border radius)
JS rewrite
- Removed dead AJAX code — all filtering is URL-based
- Clean, minimal codebase
v1.4.0 - Fix filters: URL-based instead of broken AJAX
AJAX filtering replaced with URL navigation. Fixes filter not applying.
v1.3.2 - Fix Elementor filter load order + diagnostics
Fix: Filters not loading
Root cause: if our plugin loaded before Elementor, did_action('elementor/loaded') was false and the entire filter class was never initialized. Now uses multiple detection methods + late hook fallback.
Includes error_log diagnostics — after updating, try filtering and check debug.log for [HSEC] filter_elementor_query_args FIRED entries. If missing, the hook isn't being triggered by Elementor.
v1.3.1 - Multiple filter keywords
Multiple sync keywords
Filter keyword field now accepts comma-separated values:
webinar, conference, workshop, meetup
A landing page is imported if ANY keyword matches in its URL, name, title, or slug. Previously only a single keyword was supported, so only "webinar" events were imported.
After update: add your keywords in Settings, then run Full Sync.
v1.3.0 - Fix filters not working
Critical fix: Filters not working
Three root causes identified and fixed:
- post_type as array — Elementor passes
['hs_event']not'hs_event', so the filter hook never fired - Hardcoded default language —
get_filter_value()always returned'pl'when no filter was set, hiding all non-Polish events and making filter changes appear to have no effect - Incomplete query forwarding —
modify_main_queryonly setmeta_query, losingtax_query,post__not_in, and sort order
All three hooks (generic, named query ID, main query) now use unified apply_query_filters().
v1.2.5 - Fix hsec_meta shortcode
Fix: hsec_meta shortcode
Shortcode now resolves values from multiple sources (post meta → headHtml meta → raw_data).
Aliases: url, date, type, category, on_demand, visible, language
Example: [hsec_meta key="url"] → event URL, [hsec_meta key="category"] → event category
v1.2.4 - Category as taxonomy, date normalization
Fixes
- Category filter now reads from
hs_event_categorytaxonomy (not post meta) — manually added terms show up - Date normalized to
Y-m-d H:i:sfor reliable upcoming/past filtering event_datefrom headHtml always overridesstart_datetime
v1.2.3 - Fix critical error on frontend
Fixes fatal error: elementor/query/{id} hook sends WP_Query object, not array. Separate handler added for named query ID.
v1.2.2 - Category, On Demand, Visibility taxonomies
New taxonomies
Three new taxonomies registered on hs_event post type, populated from headHtml data-json:
- hs_event_category — Webinar, Conference, Workshop, etc.
- hs_event_ondemand — Live / On Demand
- hs_event_visibility — Visible / Hidden
Use in Elementor Loop Grid via taxonomy query or skin conditions.
After update: click Backfill headHtml Meta to populate terms.
v1.2.1 - Hook hsec_filtered query ID
Adds dedicated Elementor query hook for hsec_filtered query ID used on production Loop Grid.