Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "$schema": "https://schemas.metabox.io/field-group.json",
- "autosave": true,
- "custom_settings": {
- "tab_style": {
- "id": "tab_style",
- "key": "tab_style",
- "value": "left"
- },
- "tab_default_active": {
- "id": "tab_default_active",
- "key": "tab_default_active",
- "value": "Property Details"
- },
- "tab_remember": {
- "id": "tab_remember",
- "key": "tab_remember",
- "value": false
- }
- },
- "custom_table": {
- "prefix": true,
- "create": true
- },
- "fields": [
- {
- "type": "radio",
- "id": "listings_purpose",
- "name": "Listing Purpose",
- "options": {
- "Sale": "Sale",
- "Rent": "Rent",
- "Lease": "Lease"
- },
- "std": "Sale",
- "tab": "tab_pricing_status",
- "inline": false
- },
- {
- "type": "group",
- "id": "listing_open_house_settings",
- "name": "Settings",
- "columns": 4,
- "tab": "tab_open_house",
- "fields": [
- {
- "type": "divider",
- "id": "divider_32gxqnnxcuj",
- "name": "Divider"
- },
- {
- "type": "radio",
- "id": "listing_show_open_house",
- "name": "Show Open House Dates",
- "options": {
- "Yes": "Yes",
- "No": "No"
- },
- "std": "No",
- "inline": false
- },
- {
- "type": "radio",
- "id": "lstings_open_house_bg",
- "name": "Custom Background ",
- "options": {
- "Yes": "Yes",
- "No": "No"
- },
- "std": "No",
- "inline": false
- },
- {
- "type": "color",
- "id": "listing_banner_bg_color",
- "name": "Banner Background Colour",
- "alpha_channel": true,
- "std": "#FF6600",
- "visible": [
- "lstings_open_house_bg",
- "Yes"
- ]
- },
- {
- "type": "color",
- "id": "color_sicrlkv97lp",
- "name": "Banner Text Colour",
- "alpha_channel": true,
- "std": "#000000",
- "visible": [
- "lstings_open_house_bg",
- "Yes"
- ]
- }
- ]
- },
- {
- "type": "date",
- "id": "listing_open_house_day",
- "name": "Day",
- "format": "M dd, yy",
- "inline": true,
- "columns": 4,
- "save_format": "M j",
- "tab": "tab_open_house"
- },
- {
- "type": "group",
- "id": "listings_open_house_times_group",
- "name": "Times",
- "columns": 4,
- "tab": "tab_open_house",
- "fields": [
- {
- "type": "divider",
- "id": "divider_xix7wdvevaq",
- "name": "Divider (Copy)"
- },
- {
- "type": "time",
- "id": "listings_open_house_start_time",
- "name": "Start",
- "min": 1,
- "max": 12,
- "step": 0.5,
- "std": 1,
- "inline": false,
- "size": 0
- },
- {
- "type": "time",
- "id": "listings_open_house_end_time",
- "name": "End",
- "min": 1,
- "max": 12,
- "step": 0.5,
- "std": 1
- },
- {
- "type": "textarea",
- "id": "listings_open_house_notes",
- "name": "Notes",
- "rows": 7
- }
- ]
- }
- ],
- "id": "listing",
- "modified": 1763396538,
- "storage_type": "custom_table",
- "tab_default_active": "Property Details",
- "tab_remember": false,
- "tab_style": "left",
- "table": "wp_shay_listings",
- "tabs": {
- "tab_pricing_status": {
- "label": "Pricing & Status",
- "icon": "dashicons-dashicons-money-alt"
- },
- "tab_open_house": {
- "label": "Open House",
- "icon": "dashicons-dashicons-calendar-alt"
- }
- },
- "title": "Listing",
- "validation": {
- "rules": {
- "listing_show_open_house": {
- "required": true
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment