← Back
Editing: listing-form-fields.json
{ "title": { "widget_group": "preset", "widget_name": "title", "type": "text", "field_key": "listing_title", "required": true, "label": "Title", "placeholder": "", "widget_key": "title" }, "tagline": { "type": "text", "field_key": "tagline", "label": "Tagline", "placeholder": "", "required": false, "only_for_admin": false, "widget_group": "preset", "widget_name": "tagline", "widget_key": "tagline" }, "description": { "type": "wp_editor", "field_key": "listing_content", "label": "Description", "placeholder": "", "required": false, "only_for_admin": false, "widget_group": "preset", "widget_name": "description", "widget_key": "description" }, "pricing": { "field_key": "pricing", "label": "Pricing", "pricing_type": "both", "price_range_label": "Price Range", "price_range_placeholder": "Select Price Range", "price_unit_field_type": "number", "price_unit_field_label": "Price [USD]", "price_unit_field_placeholder": "Price of this listing. Eg. 100", "only_for_admin": false, "modules": { "price_unit": { "label": "Price Unit", "type": "text", "field_key": "price_unit" }, "price_range": { "label": "Price Range", "type": "text", "field_key": "price_range" } }, "widget_group": "preset", "widget_name": "pricing", "widget_key": "pricing" }, "excerpt": { "type": "textarea", "field_key": "excerpt", "label": "Excerpt", "placeholder": "", "required": false, "only_for_admin": false, "widget_group": "preset", "widget_name": "excerpt", "widget_key": "excerpt" }, "location": { "field_key": "tax_input[at_biz_dir-location][]", "label": "Location", "placeholder": "", "type": "multiple", "create_new_loc": false, "max_location_creation": "0", "required": false, "only_for_admin": false, "widget_group": "preset", "widget_name": "location", "widget_key": "location" }, "tag": { "field_key": "tax_input[at_biz_dir-tags][]", "label": "Tag", "placeholder": "Tag", "type": "multiple", "required": false, "allow_new": true, "only_for_admin": false, "widget_group": "preset", "widget_name": "tag", "widget_key": "tag" }, "category": { "field_key": "admin_category_select[]", "label": "Category", "placeholder": "", "type": "multiple", "create_new_cat": false, "required": false, "only_for_admin": false, "widget_group": "preset", "widget_name": "category", "widget_key": "category" }, "map": { "type": "map", "field_key": "map", "label": "Map", "lat_long": "Or Enter Coordinates (latitude and longitude) Manually", "only_for_admin": false, "widget_group": "preset", "widget_name": "map", "widget_key": "map" }, "address": { "type": "text", "field_key": "address", "label": "Address", "placeholder": "Listing address eg. New York, USA", "required": false, "only_for_admin": false, "widget_group": "preset", "widget_name": "address", "widget_key": "address" }, "phone": { "type": "tel", "field_key": "phone", "label": "Phone", "placeholder": "", "required": false, "only_for_admin": false, "whatsapp": false, "widget_group": "preset", "widget_name": "phone", "widget_key": "phone" }, "phone2": { "type": "tel", "field_key": "phone2", "label": "Phone 2", "placeholder": "", "required": false, "only_for_admin": false, "whatsapp": false, "widget_group": "preset", "widget_name": "phone2", "widget_key": "phone2" }, "fax": { "type": "number", "field_key": "fax", "label": "Fax", "placeholder": "", "required": false, "only_for_admin": false, "widget_group": "preset", "widget_name": "fax", "widget_key": "fax" }, "zip": { "type": "text", "field_key": "zip", "label": "Zip/Post Code", "placeholder": "", "required": false, "only_for_admin": false, "widget_group": "preset", "widget_name": "zip", "widget_key": "zip" }, "website": { "type": "text", "field_key": "website", "label": "Website", "placeholder": "", "required": false, "only_for_admin": false, "widget_group": "preset", "widget_name": "website", "widget_key": "website" }, "video": { "type": "text", "field_key": "videourl", "label": "Video", "placeholder": "Only YouTube & Vimeo URLs.", "required": false, "only_for_admin": false, "widget_group": "preset", "widget_name": "video", "widget_key": "video" }, "social_info": { "type": "add_new", "field_key": "social", "label": "Social Info", "required": false, "only_for_admin": false, "widget_group": "preset", "widget_name": "social_info", "widget_key": "social_info" }, "image_upload": { "type": "media", "field_key": "listing_img", "label": "Images", "select_files_label": "Select Files", "max_image_limit": 5, "max_per_image_limit": 0, "max_total_image_limit": 2, "required": false, "only_for_admin": false, "widget_group": "preset", "widget_name": "image_upload", "widget_key": "image_upload" }, "email": { "type": "email", "field_key": "email", "label": "Email", "placeholder": "", "required": false, "only_for_admin": false, "widget_group": "preset", "widget_name": "email", "widget_key": "email" }, "terms_privacy": { "type": "text", "field_key": "privacy_policy", "text": "I agree to the <a href=\"https://directorist.test\" target=\"_blank\">Privacy Policy</a> and <a href=\"https://directorist.test\" target=\"_blank\">Terms of Service</a>", "required": false, "widget_group": "preset", "widget_name": "terms_privacy", "widget_key": "terms_privacy" }, "text": { "type": "text", "field_key": "custom-text", "label": "Text", "description": "", "placeholder": "", "required": false, "only_for_admin": false, "assign_to": false, "category": "", "widget_group": "custom", "widget_name": "text", "widget_key": "text" }, "textarea": { "type": "textarea", "field_key": "custom-textarea", "label": "Textarea", "description": "", "placeholder": "", "rows": 8, "required": false, "only_for_admin": false, "assign_to": false, "category": "", "widget_group": "custom", "widget_name": "textarea", "widget_key": "textarea" }, "number": { "type": "number", "field_key": "custom-number", "label": "Number", "description": "", "placeholder": "", "required": false, "only_for_admin": false, "min_value": "", "max_value": "", "step": 1, "prepend": "", "append": "", "assign_to": false, "category": "", "widget_group": "custom", "widget_name": "number", "widget_key": "number" }, "url": { "type": "text", "field_key": "custom-url", "label": "URL", "description": "", "placeholder": "", "target": false, "required": false, "only_for_admin": false, "assign_to": false, "category": "", "widget_group": "custom", "widget_name": "url", "widget_key": "url" }, "date": { "type": "date", "field_key": "custom-date", "label": "Date", "description": "", "placeholder": "", "required": false, "only_for_admin": false, "assign_to": false, "category": "", "widget_group": "custom", "widget_name": "date", "widget_key": "date" }, "time": { "type": "time", "field_key": "custom-time", "label": "Time", "description": "", "placeholder": "", "required": false, "only_for_admin": false, "assign_to": false, "category": "", "widget_group": "custom", "widget_name": "time", "widget_key": "time" }, "color_picker": { "type": "color", "field_key": "custom-color-picker", "label": "Color", "description": "", "required": false, "only_for_admin": false, "assign_to": false, "category": "", "widget_group": "custom", "widget_name": "color_picker", "widget_key": "color_picker" }, "select": { "type": "select", "field_key": "custom-select", "label": "Select", "description": "", "options": "", "required": false, "only_for_admin": false, "assign_to": false, "category": "", "widget_group": "custom", "widget_name": "select", "widget_key": "select" }, "checkbox": { "type": "checkbox", "field_key": "custom-checkbox", "label": "Checkbox", "description": "", "options": "", "required": false, "only_for_admin": false, "assign_to": false, "category": "", "widget_group": "custom", "widget_name": "checkbox", "widget_key": "checkbox" }, "radio": { "type": "radio", "field_key": "custom-radio", "label": "Radio", "description": "", "options": "", "required": false, "only_for_admin": false, "assign_to": false, "category": "", "widget_group": "custom", "widget_name": "radio", "widget_key": "radio" }, "file": { "type": "file", "field_key": "custom-file", "label": "File Upload", "description": "", "file_type": "image", "file_size": "2mb", "required": false, "only_for_admin": false, "widget_group": "custom", "widget_name": "file", "widget_key": "file" } }
Save File
Cancel