balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

block.json (1074B)


      1 {
      2 	"apiVersion": 2,
      3 	"name": "core/query",
      4 	"title": "Query Loop",
      5 	"category": "theme",
      6 	"description": "An advanced block that allows displaying post types based on different query parameters and visual configurations.",
      7 	"textdomain": "default",
      8 	"attributes": {
      9 		"queryId": {
     10 			"type": "number"
     11 		},
     12 		"query": {
     13 			"type": "object",
     14 			"default": {
     15 				"perPage": null,
     16 				"pages": 0,
     17 				"offset": 0,
     18 				"postType": "post",
     19 				"categoryIds": [],
     20 				"tagIds": [],
     21 				"order": "desc",
     22 				"orderBy": "date",
     23 				"author": "",
     24 				"search": "",
     25 				"exclude": [],
     26 				"sticky": "",
     27 				"inherit": true
     28 			}
     29 		},
     30 		"tagName": {
     31 			"type": "string",
     32 			"default": "div"
     33 		},
     34 		"displayLayout": {
     35 			"type": "object",
     36 			"default": {
     37 				"type": "list"
     38 			}
     39 		}
     40 	},
     41 	"providesContext": {
     42 		"queryId": "queryId",
     43 		"query": "query",
     44 		"displayLayout": "displayLayout"
     45 	},
     46 	"supports": {
     47 		"align": [ "wide", "full" ],
     48 		"html": false,
     49 		"color": {
     50 			"gradients": true,
     51 			"link": true
     52 		},
     53 		"__experimentalLayout": true
     54 	},
     55 	"editorStyle": "wp-block-query-editor"
     56 }