← Back
Editing: block.json
{ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "category": "directorist-blocks-collection", "version": "1.0.0", "title": "Categories", "name": "directorist/all-categories", "description": "Create directory category listing grid view and list view.", "keywords": [ "all categories", "category", "taxonomy", "term" ], "attributes": { "view": { "type": "string", "enum": [ "grid", "list" ], "default": "grid" }, "orderby": { "type": "string", "enum": [ "id", "count", "name", "slug" ], "default": "id" }, "order": { "type": "string", "enum": [ "asc", "desc" ], "default": "desc" }, "cat_per_page": { "type": "number", "default": 6 }, "columns": { "type": "number", "enum": [ 1, 2, 3, 4, 6 ], "default": 3 }, "slug": { "type": "string", "default": "" }, "logged_in_user_only": { "type": "boolean", "default": false }, "redirect_page_url": { "type": "string", "default": "" }, "directory_type": { "type": "string", "default": "" }, "default_directory_type": { "type": "string", "default": "" } }, "supports": { "html": false }, "editorScript": [ "file:./index.js", "jquery-masonry", "directorist-swiper", "directorist-select2-script", "directorist-all-listings", "directorist-listing-slider", "directorist-search-form", "directorist-openstreet-map", "directorist-google-map" ] }
Save File
Cancel