-
Notifications
You must be signed in to change notification settings - Fork 0
Migration
How to bring your site over from another filter plugin.
Warning
Automated migration tools are on the post-1.0 roadmap. They didn't make the 1.0.0 cut. This page captures what we plan to support; the wp hof migrate … commands below don't exist yet. The manual paths (especially "from custom code") work today.
Planned scope:
- ✅ Facet definitions (checkbox, radio, dropdown, slider, date, search, hierarchy)
- ✅ Index data (where data shapes overlap)
- ✅ Templates (display templates → HOF display templates)
⚠️ Listings (a structured port; manual review may be needed)- ❌ Custom PHP in facet templates (you'll need to port these yourself; we'll provide a guide)
Planned UX:
- Install both plugins side by side
- Run
wp hof migrate facetwp --dry-run - Review the report
- Run
wp hof migrate facetwp --commit - Verify, then disable FacetWP
Planned scope:
- ✅ Facet definitions (with mappings for WPGB-specific types)
- ✅ Grid → HOF listing template (best-effort)
⚠️ Card builder layouts → HOF display templates (best-effort, manual review)- ❌ Pro/extension features (case by case)
Less direct mapping, but we'll provide:
- ✅ A guided mapping wizard in the admin
- ✅ Field-by-field translation
- ❌ No automated cutover (manual recreation suggested)
If you've built filters with pre_get_posts, WP_Query, or AJAX of your own — congratulations, you're a real one. HOF can replace most of that with config instead of code. The migration is:
- Catalog every place you call
WP_Queryfor filtering - Map each to an HOF facet or listing
- Replace the PHP with the HOF block/shortcode/template tag
- Delete the old code with prejudice
Open an issue with the migration label and we'll help scope it.
hooked on facets · Filtering, finally fun. · GitHub · hookedonfacets.com
Filtering, finally fun.
📖 docs
🧠 concepts
🎛️ facet types
- All Types
- Checkbox
- Radio
- Dropdown
- Range Slider
- Date Range
- Search
- Hierarchy
- Color Swatch
- Swipe Deck
- Spin the Wheel
- Intersection Matrix
- Ask
- Visual DNA
- Toggle
- Saved Bin
- Pagination
🔧 develop
🗺️ project