PluginProbe
ElasticPress / 5.0.1
ElasticPress v5.0.1
5.3.5 5.3.4 3.6.5 3.6.6 4.0.0 4.0.1 4.1.0 4.2.0 4.2.1 4.2.2 4.3.0 4.3.1 4.4.0 4.4.1 4.5.0 4.5.1 4.5.2 4.6.0 4.6.1 4.7.0 4.7.1 4.7.2 5.0.0 5.0.1 5.0.2 All 108 releases
elasticpress / assets / js / blocks / facets / taxonomy / block.json

block.json in ElasticPress 5.0.1, at assets/js/blocks/facets/taxonomy/block.json

65 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 2,
4 "name": "elasticpress/facet",
5 "title": "Filter by Taxonomy",
6 "category": "elasticpress",
7 "description": "Let visitors filter your content by taxonomy terms, such as categories or tags.",
8 "keywords": ["attributes", "facets"],
9 "textdomain": "elasticpress",
10 "attributes": {
11 "displayCount": {
12 "type": "boolean",
13 "default": false
14 },
15 "facet": {
16 "type": "string",
17 "default": ""
18 },
19 "isPreview": {
20 "type": "boolean",
21 "default": false
22 },
23 "order": {
24 "type": "string",
25 "default": "desc",
26 "enum": [ "desc", "asc" ]
27 },
28 "orderby": {
29 "type" : "string",
30 "default": "count",
31 "enum" : [ "count", "name" ]
32 },
33 "type": {
34 "type": "string",
35 "default": "taxonomy"
36 }
37 },
38 "supports": {
39 "color": {
40 "background": true,
41 "link": true,
42 "text": false
43 },
44 "html": false,
45 "position": {
46 "sticky": true
47 },
48 "spacing": {
49 "margin": true,
50 "padding": true
51 },
52 "typography": {
53 "fontSize": true,
54 "lineHeight": true
55 }
56 },
57 "example": {
58 "attributes": {
59 "facet": "category"
60 }
61 },
62 "editorScript": "ep-facets-block-script",
63 "style": "elasticpress-facets"
64 }
65