Login

To vote or comment, enter your email and we'll send a magic link

10

Facet block support

open

Make facet features available from the WP block editor.

1 month ago

Comments (7)

Yes, a FacetWP block would be awesome.

1 month ago

Currently, we tell users to paste FacetWP shortcodes into a WP Shortcode block. Any suggestions on what this new block would look like?

I.e. aside from a dropdown to choose a facet / template, what should it contain?

1 month ago

Yeah I agree currently this would be a waste of dev time as you can use shortcode blocks

1 month ago

Sounds cool but feels unnecessary at the moment because we can already do this with the available tools

1 month ago

One benefit of a facet "block" would be visual customization, such as the ability to set a facet label (that automatically hides if the facet has no choices).

1 week ago

The block approach could also eliminate the template drag and drop which, let's face it, is not user-friendly. Why not have the ability to design a template, set colors, margins, paddings, then have another section for the facet, query selector, sorting all from inside the block editor? Facets could also have their own blocks. I understand we have the shortcode but the whole idea of the block is for user experience and ease of use. You can take some examples from a great and very lightweight block add-on called "GenerateBlocks", it's very customizable using only four block elements.

1 week ago

@User 74 - our main focus right now (regarding block editor support) is on the facets themselves. I.e. making it easier to add (and customize) facets on block-enabled listing pages.

While FacetWP does include a layout builder, it was really aimed as being only a starting point. We'd obviously prefer to piggyback off WP's own query block, or 3rd party page builder plugins :)

1 week ago