← Back
Editing: block.json
{ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "category": "directorist-blocks-collection", "version": "1.0.0", "name": "directorist/all-locations", "title": "Locations", "description": "Create directory location listing grid view and list view.", "keywords": [ "all locations", "location", "taxonomy", "term" ], "attributes": { "view": { "type": "string", "default": "grid" }, "orderby": { "type": "string", "default": "date" }, "order": { "type": "string", "default": "desc" }, "loc_per_page": { "type": "number", "default": 6 }, "columns": { "type": "number", "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