FacetWP
Beaver Builder Infinite Scroll Fix
Yoko Core ensures that the infinite scroll pagination in a Beaver Builder posts module accurately returns paged results.
Check All Shortcode
Yoko Core provides a grouped checkbox controller shortcode for FacetWP:
[yoko_facetwp_check_all facets="facet_one,facet_two,facet_three" label="Check All"]
This control is useful when you have multiple single checkbox facets and want one master toggle.
Attributes
facets(required): comma-separated FacetWP facet names.label(optional): text label shown for the master control. Default isCheck All.class(optional): additional wrapper CSS classes.
Behavior
- Only checkbox UI facets are included. Non-checkbox facets are ignored.
- The master control and target checkbox facets update visually as soon as clicked.
- FacetWP state is synchronized by updating
FWP.facetsand then calling:FWP.fetchData()FWP.setHash()
Visual Compatibility
The shortcode output intentionally maps to FacetWP checkbox classes so existing theme and FacetWP styles are preserved:
facetwp-facetfacetwp-type-checkboxesfacetwp-checkbox
Accessibility
The master control supports keyboard interaction and ARIA state updates:
role="checkbox"aria-checkedset totrue,false, ormixedEnterandSpacetrigger toggle behavior